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:
@@ -14,6 +14,9 @@ services:
|
|||||||
|
|
||||||
proxy:
|
proxy:
|
||||||
image: nginx:1.27-alpine
|
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
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- landing
|
- landing
|
||||||
|
|||||||
Reference in New Issue
Block a user