fix(deploy): correct docker-compose networks to match infra VM

Use postgres_default, redis_default, agiliton-api external networks.
Remove depends_on (services are in separate compose stacks).

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Christian Gick
2026-04-10 16:09:13 +03:00
parent 7ab23554c0
commit 21780d3e45

View File

@@ -1,7 +1,7 @@
services: services:
agiliton-account: agiliton-account:
build: . build: .
image: gitea.agiliton.internal/infrastructure/agiliton-account:latest image: gitea.agiliton.internal/christian/agiliton-account:latest
restart: unless-stopped restart: unless-stopped
ports: ports:
- "4100:4100" - "4100:4100"
@@ -10,11 +10,14 @@ services:
labels: labels:
- "com.centurylinklabs.watchtower.enable=true" - "com.centurylinklabs.watchtower.enable=true"
networks: networks:
- agiliton-internal - postgres_default
depends_on: - redis_default
- postgres - agiliton-api
- redis
networks: networks:
agiliton-internal: postgres_default:
external: true
redis_default:
external: true
agiliton-api:
external: true external: true