초기 관제 시스템 뼈대 구성

This commit is contained in:
2026-06-06 14:58:54 +09:00
parent d982777718
commit cab7394b1f
29 changed files with 3221 additions and 1 deletions

26
docker-compose.yml Normal file
View File

@@ -0,0 +1,26 @@
services:
cargoradar:
build: .
container_name: cargoradar
restart: unless-stopped
ports:
- "${CARGORADAR_PORT:-8080}:8080"
environment:
HOST: 0.0.0.0
PORT: 8080
DATA_DIR: /data
WEB_ROOT: /app/apps/web/public
ADMIN_TOKEN: ${ADMIN_TOKEN:-}
KAKAO_JAVASCRIPT_KEY: ${KAKAO_JAVASCRIPT_KEY:-}
volumes:
- ./runtime-data:/data
healthcheck:
test:
- CMD
- node
- -e
- "fetch('http://127.0.0.1:8080/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"
interval: 30s
timeout: 5s
retries: 3
start_period: 10s