fix(deploy): restore backend host binding for proxy connectivity

Keep Postgres restricted to localhost, but re-expose backend on host port 5001 so the external reverse proxy can reach API routes reliably.

Made-with: Cursor
This commit is contained in:
Talal Sharabi
2026-04-13 12:54:35 +04:00
parent 7270c4961f
commit 93f6e23861

View File

@@ -40,7 +40,7 @@ services:
postgres: postgres:
condition: service_healthy condition: service_healthy
ports: ports:
- "127.0.0.1:5001:5001" - "5001:5001"
healthcheck: healthcheck:
test: ["CMD-SHELL", "wget -qO- http://localhost:5001/api/v1/health || exit 1"] test: ["CMD-SHELL", "wget -qO- http://localhost:5001/api/v1/health || exit 1"]
interval: 30s interval: 30s