fix: add traefik.docker.network label to fix staging routing
Some checks failed
CI / Lint, Typecheck, Test & Build (push) Has been cancelled

Traefik was picking the wrong Docker network (_default) for the staging
api container, causing requests to hang. Force it to use the coolify
network which is shared with the Traefik proxy.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-05 14:12:13 +00:00
parent b5c54176cd
commit f2b387850e

View File

@@ -61,6 +61,8 @@ services:
timeout: 5s
retries: 5
start_period: 30s
labels:
- "traefik.docker.network=coolify"
expose:
- "4000"
networks: