server: port: 4001 forward-headers-strategy: framework spring: application: name: contact-server jpa: properties: hibernate: jdbc: batch_size: 1000 order_inserts: true order_updates: true profiles: # 아무 설정 없을 때 기본으로 쓸 프로파일 default: local servlet: multipart: max-file-size: 100MB max-request-size: 100MB logging: file: path: ./logs springdoc: writer-with-order-by-keys: true swagger-ui: tags-sorter: alpha operations-sorter: method kri: http: bypass: enabled: true connect-timeout: 10s request-timeout: 30s targets: noti-hub: throw-on-error: true base-url: ${kri.api-url.noti-hub} allowed-paths: - /message-template - /message-template/** - /message-report/** - /message-send/cancel/single - /message-send/cancel/bulk auth: apikey: key: "4B726963-436F6E74616374-53657276696365-402531213230" header-name: "X-API-Key" # API Key 헤더 enabled: true # API Key 인증 허용 여부 service-code: kric-contact-service allowed-paths: - /api/v1/list-external/** preload-on-startup: true # 내부 운영용(원하면) admin-api-enabled: true admin-allow-ips: - 211.254.145.130 security: enabled: true public-paths: # 인증 없이 열어둘 URL - /v3/api-docs/** - /swagger-ui.html - /swagger-ui/** - /ping - /internal/apikey/** - /api/v1/auth/login - /api/v1/list-hist/survey/** - /contact-senario/** swagger: enabled: true title: "KRI Contact API" description: "KRI 컨택 API" version: "v1.0.0" base-package: "com.kri.contact.server" allowed-ips: - 211.254.145.130 file: list-base-dir: ./upload-file/list list-item-base-dir: ./upload-file/list-item contact-senario-base-dir: ./upload-file/contact-senario contact-senario: public-base-url: /contact-senario temp-expire-hours: 24 temp-cleanup-cron: "0 0 0 * * *" # 매일 00:00(초 분 시 일 월 요일) list-upload-file: cleanup-expire-months: 3 cleanup-cron: "0 30 0 * * SUN" list-async: cleanup-delay-ms: 60000 list-event-history: survey-lock-wait-timeout-seconds: 30 web: enabled: true # 공통 Web 구성 사용 여부 (기본 true) redis: enabled: false # RedisQueueHelper 사용 시 true scheduling: enabled: true # @Scheduled 사용 시 true