Bind staging Docker to 18088 so portproxy can own 8088.

This commit is contained in:
2026-08-24 12:06:13 +03:30
parent 2a0f9dbfee
commit 5ac3a4a708
5 changed files with 23 additions and 10 deletions

View File

@@ -91,8 +91,9 @@ services:
frontend:
condition: service_healthy
ports:
# Localhost only — Docker Desktop on Windows often breaks 0.0.0.0; use netsh portproxy for LAN/public (see STAGING-DEPLOY.md).
- "127.0.0.1:${STAGING_HTTP_PORT:-8088}:80"
# Bind a private localhost port — Windows portproxy already owns public 8088.
# See STAGING-DEPLOY.md §7: portproxy 0.0.0.0:8088 → 127.0.0.1:18088
- "127.0.0.1:${STAGING_LOCAL_PORT:-18088}:80"
volumes:
- ./nginx/http-only.conf:/etc/nginx/conf.d/default.conf:ro
- ./logs/nginx-staging:/var/log/nginx