78 lines
1.5 KiB
YAML
78 lines
1.5 KiB
YAML
server:
|
|
port: 8080
|
|
|
|
spring:
|
|
application:
|
|
name: kamco-training-api
|
|
|
|
datasource:
|
|
driver-class-name: org.postgresql.Driver
|
|
url: jdbc:postgresql://localhost:15432/kamco_training_db
|
|
username: kamco_cds
|
|
password: kamco_cds_Q!W@E#R$
|
|
hikari:
|
|
minimum-idle: 2
|
|
maximum-pool-size: 2
|
|
connection-timeout: 20000
|
|
idle-timeout: 300000
|
|
max-lifetime: 1800000
|
|
leak-detection-threshold: 60000
|
|
|
|
jpa:
|
|
hibernate:
|
|
ddl-auto: none # 테스트 환경에서는 DDL 자동 생성/수정 비활성화
|
|
properties:
|
|
hibernate:
|
|
hbm2ddl:
|
|
auto: none
|
|
javax:
|
|
persistence:
|
|
validation:
|
|
mode: none
|
|
jdbc:
|
|
batch_size: 50
|
|
default_batch_fetch_size: 100
|
|
show-sql: false
|
|
|
|
logging:
|
|
level:
|
|
org:
|
|
springframework:
|
|
web: DEBUG
|
|
security: DEBUG
|
|
root: INFO
|
|
|
|
management:
|
|
health:
|
|
readinessstate:
|
|
enabled: true
|
|
livenessstate:
|
|
enabled: true
|
|
endpoint:
|
|
health:
|
|
probes:
|
|
enabled: true
|
|
show-details: always
|
|
endpoints:
|
|
jmx:
|
|
exposure:
|
|
exclude: "*"
|
|
web:
|
|
base-path: /monitor
|
|
exposure:
|
|
include:
|
|
- "health"
|
|
|
|
jwt:
|
|
secret: "test_secret_key_for_testing_purposes_only"
|
|
access-token-validity-in-ms: 86400000
|
|
refresh-token-validity-in-ms: 604800000
|
|
|
|
token:
|
|
refresh-cookie-name: kamco-test
|
|
refresh-cookie-secure: false
|
|
|
|
member:
|
|
init_password: test1234!
|
|
|