queryDSL, application 설정, codestyle 설정 추가

This commit is contained in:
2025-11-12 13:18:45 +09:00
parent bf9baa8500
commit f7e38affb4
3 changed files with 113 additions and 1 deletions

View File

@@ -1 +1,93 @@
spring.application.name=kamco-back
spring:
application:
name: kamco-back
server:
port: 8080
# -----------------------
# local
# -----------------------
---
server:
port: 8080
spring:
config:
activate:
on-profile: local
datasource:
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://10.100.0.10:25432/temp
username: temp
password: temp123!
hikari:
minimum-idle: 10
maximum-pool-size: 50
jpa:
hibernate:
ddl-auto: none # 또는 update/create
show-sql: true
properties:
hibernate:
format_sql: true
logging:
level:
root: DEBUG
# -----------------------
# dev
# -----------------------
---
server:
port: 3333
spring:
config:
activate:
on-profile: dev
datasource:
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://10.100.0.10:25432/temp
username: temp
password: temp123!
jpa:
hibernate:
ddl-auto: none # 또는 update/create
show-sql: true
properties:
hibernate:
format_sql: true
logging:
level:
root: INFO
# -----------------------
# prod
# -----------------------
---
server:
port: 8080
spring:
config:
activate:
on-profile: prod
datasource:
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://10.100.0.10:25432/temp
username: temp
password: temp123!
jpa:
hibernate:
ddl-auto: none # 또는 update/create
show-sql: true
properties:
hibernate:
format_sql: true
logging:
level:
root: WARN