# ===== WBX Spring Framework — 프로덕션 프로필 ===== # 사용법: java -jar app.jar --spring.profiles.active=prod,mysql # java -jar app.jar --spring.profiles.active=prod,postgresql server: port: 8080 forward-headers-strategy: native servlet: context-path: ${SERVER_CONTEXT_PATH:/} spring: jpa: hibernate: ddl-auto: validate # 프로덕션: Flyway 사용, DDL 검증만 open-in-view: false properties: hibernate: default_batch_fetch_size: 100 flyway: enabled: true wbx: spring: jwt: secret: ${JWT_SECRET} expiration: 28800 cors: allowed-origins: ${CORS_ORIGINS:https://app.company.com} notification: sse-enabled: true heartbeat-seconds: 30 management: endpoints: web: exposure: include: health,info,metrics,prometheus endpoint: health: show-details: when-authorized springdoc: swagger-ui: enabled: false # 프로덕션 Swagger 비활성화 logging: level: root: WARN kr.co.accura.wbx.spring: INFO file: name: ${LOG_PATH:/opt/wbx-app/logs/app.log}