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