fix(deploy): stable container_name for the proxy (avoid pinned-IP collision)

container_name: spacesh-proxy lets NPM forward by name instead of the fragile
pinned 172.18.0.28, which another webproxy container could grab — sending NPM
to the wrong target (or itself) and looping.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-15 14:25:31 +07:00
parent fcbf4a69a0
commit 74abea5467
+3
View File
@@ -14,6 +14,9 @@ services:
proxy:
image: nginx:1.27-alpine
# Stable name so NPM can forward by name (spacesh-proxy:80) instead of a
# pinned IP that another webproxy container could grab.
container_name: spacesh-proxy
restart: unless-stopped
depends_on:
- landing