config: Add containers to 'principal' network for Nginx routing
All checks were successful
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 6s
build-and-deploy / deploy (push) Successful in 10s

- 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
This commit is contained in:
2025-07-05 16:06:45 -06:00
parent 4780197577
commit a38e83370c

View File

@@ -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