spring: config: activate: on-profile: local jpa: show-sql: true hibernate: ddl-auto: validate # 로컬만 완화(시킬려면 update으로 변경) properties: hibernate: default_batch_fetch_size: 100 # ✅ 성능 - N+1 쿼리 방지 order_updates: true # ✅ 성능 - 업데이트 순서 정렬로 데드락 방지 use_sql_comments: true # ⚠️ 선택 - SQL에 주석 추가 (디버깅용) format_sql: true # ⚠️ 선택 - SQL 포맷팅 (가독성) datasource: url: jdbc:postgresql://192.168.2.127:15432/kamco_cds #url: jdbc:postgresql://localhost:15432/kamco_cds username: kamco_cds password: kamco_cds_Q!W@E#R$ hikari: minimum-idle: 1 maximum-pool-size: 5 data: redis: host: 192.168.2.109 port: 6379 password: kamco servlet: multipart: enabled: true max-file-size: 4GB max-request-size: 4GB file-size-threshold: 10MB server: tomcat: max-swallow-size: 4GB max-http-form-post-size: 4GB jwt: secret: "kamco_token_9b71e778-19a3-4c1d-97bf-2d687de17d5b" access-token-validity-in-ms: 86400000 # 1일 refresh-token-validity-in-ms: 604800000 # 7일 token: refresh-cookie-name: kamco-local # 개발용 쿠키 이름 refresh-cookie-secure: false # 로컬 http 테스트면 false springdoc: swagger-ui: persist-authorization: true # 스웨거 새로고침해도 토큰 유지, 로컬스토리지에 저장 mapsheet: upload: skipGdalValidation: true shp: baseurl: /Users/bokmin/detect/result