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
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user