fix docker deployment

This commit is contained in:
Alberto-Audrix committed 2026-09-11 14:48:18 +07:00
1 parent ded52d1ece
commit fb0f996776
17 files changed
+49 -18

No files matched your search

+3 -2
View File
@@ -144,7 +144,8 @@ services:
container_name: dashboard-cpsp-executive-frontend
restart: unless-stopped
ports:
- "80:80"
# Override with FRONTEND_PORT in .env when host :80 is busy (e.g. local Windows).
- "${FRONTEND_PORT:-80}:80"
depends_on:
api:
condition: service_healthy
@@ -152,7 +153,7 @@ services:
- dashboard-cpsp-executive-network
healthcheck:
test:
["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:80/health"]
["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://127.0.0.1:80/health"]
interval: 30s
timeout: 3s
retries: 3