更新 properties

This commit is contained in:
2026-03-15 00:05:45 +08:00
parent c701cf9a14
commit 81cc054e24
3 changed files with 6 additions and 10 deletions

View File

@@ -1,14 +1,13 @@
# ????? (????)
spring.datasource.url=jdbc:postgresql://localhost:58677/temp
spring.datasource.username=postgres
spring.datasource.password=Zaneanan0101+
spring.datasource.driver-class-name=org.postgresql.Driver
# JPA ???????????????? (?????)
# JPA
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
# Swagger??????????????
# Swagger
springdoc.api-docs.enabled=true
springdoc.swagger-ui.enabled=true

View File

@@ -1,12 +1,11 @@
# ????? (???? - ????????????????)
spring.datasource.url=jdbc:postgresql://localhost:58677/temp
spring.datasource.username=postgres
spring.datasource.password=Zaneanan0101+
# JPA ???????????????????????????
# JPA
spring.jpa.hibernate.ddl-auto=none
spring.jpa.show-sql=false
# Swagger?????????? API ??? (????????????)
# Swagger
springdoc.api-docs.enabled=false
springdoc.swagger-ui.enabled=false

View File

@@ -1,15 +1,13 @@
# ????
spring.application.name=bootTemplate
server.port=51888
# ?????? (????? dev??????? prod)
spring.profiles.active=dev
# Log ?? (??????)
# Log
logging.file.path=./logs
logging.file.name=${logging.file.path}/application.log
# Swagger ??????
# Swagger
springdoc.swagger-ui.path=/swagger-ui.html
springdoc.api-docs.path=/v3/api-docs
springdoc.writer-with-default-pretty-printer=true