fix: add HOSTNAME=0.0.0.0 and fix web health check

This commit is contained in:
Lizandro Guarnizo
2026-06-25 16:33:36 -05:00
parent e76d7b5027
commit 2985433ecb
+2 -1
View File
@@ -52,10 +52,11 @@ services:
environment:
- NODE_ENV=production
- PORT=3000
- HOSTNAME=0.0.0.0
- NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL}
- NEXT_PUBLIC_WS_URL=${NEXT_PUBLIC_WS_URL}
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:3000/status"]
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3000/status"]
interval: 30s
timeout: 5s
retries: 3