🐛 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:
|
environment:
|
||||||
- GOPATH=/go
|
- GOPATH=/go
|
||||||
- PATH=/go/bin:/usr/local/go/bin:/usr/local/bin:/usr/bin:/bin
|
- PATH=/go/bin:/usr/local/go/bin:/usr/local/bin:/usr/bin:/bin
|
||||||
|
networks:
|
||||||
|
- dance-lessons-coach-network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
networks:
|
||||||
|
dance-lessons-coach-network:
|
||||||
|
name: dance-lessons-coach-network
|
||||||
|
driver: bridge
|
||||||
@@ -15,6 +15,8 @@ services:
|
|||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
networks:
|
||||||
|
- dance-lessons-coach-network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
# Application service (for reference)
|
# Application service (for reference)
|
||||||
@@ -38,3 +40,8 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
postgres_data:
|
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