1
0
forked from baron/baron-sso

헬스체크 추가

This commit is contained in:
2026-01-20 10:10:50 +09:00
parent 3c41c0dc62
commit ffe96c8c65
6 changed files with 94 additions and 18 deletions

View File

@@ -20,6 +20,12 @@ services:
- "${BACKEND_PORT:-3000}:3000"
depends_on:
- infra_check
healthcheck:
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3000/health"]
interval: 10s
timeout: 5s
retries: 3
start_period: 10s
networks:
- baron_net
@@ -30,7 +36,8 @@ services:
ports:
- "${FRONTEND_PORT:-80}:80"
depends_on:
- backend
backend:
condition: service_healthy
networks:
- baron_net