운영환경처리

This commit is contained in:
2026-03-10 16:00:23 +09:00
parent 7fce070686
commit 81b69caa99
4 changed files with 10 additions and 80 deletions

View File

@@ -10,10 +10,6 @@ spring:
datasource:
driver-class-name: org.postgresql.Driver
hikari:
jdbc:
time_zone: UTC
batch_size: 50
# 권장 설정
minimum-idle: 2
maximum-pool-size: 2
connection-timeout: 20000
@@ -21,18 +17,11 @@ spring:
max-lifetime: 1800000
leak-detection-threshold: 60000
data:
redis:
host: localhost
port: 6379
password:
jpa:
hibernate:
ddl-auto: update # 스키마 자동 관리 활성화
properties:
hibernate:
hbm2ddl:
auto: update
javax:
persistence:
validation:
@@ -55,11 +44,8 @@ logging:
security: INFO
root: INFO
# CORS 설정
cors:
allowed-origins:
- http://localhost:3000
- http://localhost:3002
# actuator
management:
health:
@@ -83,20 +69,3 @@ management:
exposure:
include:
- "health"
# GeoJSON 파일 모니터링 설정
geojson:
monitor:
watch-directory: ~/geojson/upload
processed-directory: ~/geojson/processed
error-directory: ~/geojson/error
temp-directory: /tmp/geojson_extract
cron-expression: "0/30 * * * * *" # 매 30초마다 실행
supported-extensions:
- zip
- tar
- tar.gz
- tgz
max-file-size: 104857600 # 100MB