fix(compose): connect app to coolify network so Traefik can route traffic
Some checks are pending
CI / lint + typecheck + tests (push) Waiting to run
CI / docker build + push (push) Blocked by required conditions

Coolify's Traefik is on the 'coolify' Docker network. Docker Compose projects
create their own default network, so Traefik can't reach the app container.
Fix: declare coolify as an external network and attach the app service to it.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
barodine 2026-05-02 10:17:41 +00:00
parent 34afb8d729
commit df9f359c83

View file

@ -21,6 +21,9 @@ services:
JWT_SECRET: ${JWT_SECRET}
# CORS allowed origins
ALLOWED_ORIGINS: ${ALLOWED_ORIGINS:-https://agenthub.barodine.net}
networks:
- default
- coolify
depends_on:
postgres:
condition: service_healthy
@ -146,3 +149,5 @@ networks:
default:
labels:
- 'coolify.managed=true'
coolify:
external: true