From df9f359c837df036a23acfbc0763361e79f61417 Mon Sep 17 00:00:00 2001 From: barodine Date: Sat, 2 May 2026 10:17:41 +0000 Subject: [PATCH] fix(compose): connect app to coolify network so Traefik can route traffic 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 --- compose.coolify.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/compose.coolify.yml b/compose.coolify.yml index bb7426a..1e395a1 100644 --- a/compose.coolify.yml +++ b/compose.coolify.yml @@ -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