diff --git a/src/main/resources/application-dev.properties b/src/main/resources/application-dev.properties index c9e0ec4..bb2c16c 100644 --- a/src/main/resources/application-dev.properties +++ b/src/main/resources/application-dev.properties @@ -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 \ No newline at end of file diff --git a/src/main/resources/application-prod.properties b/src/main/resources/application-prod.properties index c54a777..b008099 100644 --- a/src/main/resources/application-prod.properties +++ b/src/main/resources/application-prod.properties @@ -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 \ No newline at end of file diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 75f5f19..756d20d 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -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 \ No newline at end of file