- 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>
23 lines
619 B
YAML
23 lines
619 B
YAML
services:
|
|
build-cache:
|
|
image: gitea.arcodange.lab/arcodange/dance-lessons-coach-build-cache:${DEPS_HASH}
|
|
build:
|
|
context: .
|
|
dockerfile: docker/Dockerfile.build
|
|
args:
|
|
DEPS_HASH: ${DEPS_HASH}
|
|
container_name: dance-lessons-coach-build-cache
|
|
volumes:
|
|
- .:/workspace
|
|
working_dir: /workspace
|
|
environment:
|
|
- GOPATH=/go
|
|
- PATH=/go/bin:/usr/local/go/bin:/usr/local/bin:/usr/bin:/bin
|
|
networks:
|
|
- dance-lessons-coach-network
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
dance-lessons-coach-network:
|
|
name: dance-lessons-coach-network
|
|
driver: bridge |