From 74abea546767dda658f0ade18ea364a61ab38672 Mon Sep 17 00:00:00 2001 From: Vassiliy Yegorov Date: Mon, 15 Jun 2026 14:25:31 +0700 Subject: [PATCH] fix(deploy): stable container_name for the proxy (avoid pinned-IP collision) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- deploy/docker-compose.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deploy/docker-compose.yaml b/deploy/docker-compose.yaml index 9c77618..51007d4 100644 --- a/deploy/docker-compose.yaml +++ b/deploy/docker-compose.yaml @@ -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