🐛 fix: add shared network configuration for Docker Compose services
- Add dance-lessons-coach-network to both compose files - Ensure build-cache and postgres containers can communicate - Fix container-to-container connectivity - Maintain same network name for consistency Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
@@ -13,4 +13,11 @@ services:
|
||||
environment:
|
||||
- GOPATH=/go
|
||||
- PATH=/go/bin:/usr/local/go/bin:/usr/local/bin:/usr/bin:/bin
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- dance-lessons-coach-network
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
dance-lessons-coach-network:
|
||||
name: dance-lessons-coach-network
|
||||
driver: bridge
|
||||
@@ -15,6 +15,8 @@ services:
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
networks:
|
||||
- dance-lessons-coach-network
|
||||
restart: unless-stopped
|
||||
|
||||
# Application service (for reference)
|
||||
@@ -37,4 +39,9 @@ services:
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
driver: local
|
||||
driver: local
|
||||
|
||||
networks:
|
||||
dance-lessons-coach-network:
|
||||
name: dance-lessons-coach-network
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user