kcg-ai-monitoring/backend/src/main/resources/application.yml
htlee 2ee8a0e7ff feat(detection): DAR-03 어구 탐지 워크플로우 + 모선 검토 UI + 24h 리플레이 통합
- prediction: G-01/G-04/G-05/G-06 위반 분류 + 쌍끌이 공조 탐지 추가
- backend: 모선 확정/제외 API + signal-batch 항적 프록시 + ParentResolution 점수 근거 필드 확장
- frontend: 어구 탐지 그리드 다중필터/지도 flyTo, 후보 검토 패널(점수 근거+확정/제외), 24h convex hull 리플레이 + TripsLayer 애니메이션
- gitignore: 루트 .venv/ 추가
2026-04-15 13:26:15 +09:00

77 lines
1.9 KiB
YAML

spring:
application:
name: kcg-ai-backend
datasource:
url: jdbc:postgresql://211.208.115.83:5432/kcgaidb
username: kcg-app
password: Kcg2026ai
driver-class-name: org.postgresql.Driver
hikari:
maximum-pool-size: 10
minimum-idle: 2
connection-timeout: 30000
jpa:
hibernate:
ddl-auto: validate
properties:
hibernate:
default_schema: kcg
format_sql: true
dialect: org.hibernate.spatial.dialect.postgis.PostgisPG10Dialect
jdbc:
time_zone: Asia/Seoul
open-in-view: false
flyway:
enabled: true
schemas: kcg
default-schema: kcg
locations: classpath:db/migration
baseline-on-migrate: true
cache:
type: caffeine
cache-names: permissions,users,menuConfig
caffeine:
spec: maximumSize=1000,expireAfterWrite=10m
server:
port: 8080
forward-headers-strategy: framework
compression:
enabled: true
min-response-size: 1024
mime-types: application/json,application/xml,text/html,text/plain
management:
endpoints:
web:
exposure:
include: health,info,flyway
endpoint:
health:
show-details: when-authorized
logging:
level:
root: INFO
gc.mda.kcg: DEBUG
org.flywaydb: INFO
# === 애플리케이션 커스텀 설정 ===
app:
prediction:
base-url: ${PREDICTION_BASE_URL:http://localhost:8001}
signal-batch:
base-url: ${SIGNAL_BATCH_BASE_URL:http://192.168.1.18:18090/signal-batch}
iran-backend:
# 운영 환경: https://kcg.gc-si.dev (Spring Boot + Prediction 통합)
base-url: ${IRAN_BACKEND_BASE_URL:https://kcg.gc-si.dev}
cors:
allowed-origins: ${CORS_ALLOWED_ORIGINS:http://localhost:5173,http://localhost:5174}
jwt:
secret: ${JWT_SECRET:change-me-in-production-this-must-be-at-least-256-bits-long-secret-key}
expiration-ms: ${JWT_EXPIRATION_MS:86400000}