81 lines
2.2 KiB
YAML
81 lines
2.2 KiB
YAML
server:
|
|
port: 8080
|
|
|
|
spring:
|
|
config:
|
|
activate:
|
|
on-profile: prod
|
|
|
|
datasource:
|
|
url: jdbc:postgresql://kamco-cd-postgis:5432/kamco_cds
|
|
#url: jdbc:postgresql://localhost:5432/kamco_cds
|
|
username: kamco_cds
|
|
password: kamco_cds_Q!W@E#R$
|
|
hikari:
|
|
minimum-idle: 10
|
|
maximum-pool-size: 20
|
|
connection-timeout: 60000 # 60초 연결 타임아웃
|
|
idle-timeout: 300000 # 5분 유휴 타임아웃
|
|
max-lifetime: 1800000 # 30분 최대 수명
|
|
leak-detection-threshold: 60000 # 연결 누수 감지
|
|
|
|
jpa:
|
|
hibernate:
|
|
ddl-auto: validate # 테이블이 없으면 생성, 있으면 업데이트
|
|
properties:
|
|
hibernate:
|
|
jdbc:
|
|
batch_size: 50
|
|
default_batch_fetch_size: 100
|
|
logging:
|
|
level:
|
|
root: INFO
|
|
org.springframework.web: DEBUG
|
|
org.springframework.security: DEBUG
|
|
|
|
# 헬스체크 노이즈 핵심만 다운
|
|
org.springframework.security.web.FilterChainProxy: INFO
|
|
org.springframework.security.web.authentication.AnonymousAuthenticationFilter: INFO
|
|
org.springframework.security.web.authentication.Http403ForbiddenEntryPoint: INFO
|
|
org.springframework.web.servlet.DispatcherServlet: INFO
|
|
# actuator
|
|
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"
|
|
|
|
file:
|
|
sync-root-dir: /data/images/
|
|
sync-tmp-dir: /data/repo/tmp # image upload temp dir
|
|
sync-file-extention: tfw,tif
|
|
|
|
#dataset-dir: D:/data/model_output/ #변경 model_output
|
|
dataset-dir: /data/model_output/export/ # 마운트경로 AI 추론결과
|
|
dataset-tmp-dir: ${file.dataset-dir}tmp/
|
|
|
|
#model-dir: D:/data/ckpt/model/
|
|
model-dir: /data/ckpt/model/ # 학습서버에서 트레이닝한 모델업로드경로
|
|
model-tmp-dir: ${file.model-dir}tmp/
|
|
model-file-extention: pth,json,py
|
|
|
|
pt-path: /data/ckpt/v6-cls-checkpoints/
|
|
pt-FileName: yolov8_6th-6m.pt
|
|
dataset-response: /data/dataset/response/
|
|
|