From a38e83370c128eea89404af0306a99ed9c7fdce3 Mon Sep 17 00:00:00 2001 From: josedario87 Date: Sat, 5 Jul 2025 16:06:45 -0600 Subject: [PATCH] config: Add containers to 'principal' network for Nginx routing - All services now connect to both 'principal' (external) and 'snatchgame-network' (internal) - Allows Nginx proxy manager to route to containers via principal network - Maintains internal communication between services --- docker-compose.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 33daa24..b28f4fc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,6 +11,7 @@ services: - NODE_ENV=production - PORT=2567 networks: + - principal - snatchgame-network restart: unless-stopped healthcheck: @@ -33,6 +34,7 @@ services: depends_on: - snatchgame-server networks: + - principal - snatchgame-network restart: unless-stopped healthcheck: @@ -55,6 +57,7 @@ services: depends_on: - snatchgame-server networks: + - principal - snatchgame-network restart: unless-stopped healthcheck: @@ -65,5 +68,7 @@ services: start_period: 40s networks: + principal: + external: true snatchgame-network: driver: bridge \ No newline at end of file