From 516daf0b07db2adf3a687f3e2730ce884636c1f0 Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Mon, 1 Jun 2026 20:52:40 +0200 Subject: [PATCH] fix: attach couchdb to coolify external network for Traefik routing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The container was only on the project's default network, so Coolify's Traefik (on the shared coolify network) had no route to it — Traefik matched the router but reported "no available server". Putting couchdb on both networks lets Traefik reach 5984 while leaving the init sidecar talking to it over the default network as before. --- docker-compose.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index e2f1443..75f36ce 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,6 +10,9 @@ services: - "5984" volumes: - couchdb_data:/opt/couchdb/data + networks: + - default + - coolify couchdb-init: image: curlimages/curl:latest @@ -55,5 +58,9 @@ services: put_config cors methods 'GET, PUT, POST, HEAD, DELETE' put_config cors headers 'accept, authorization, content-type, origin, referer, x-csrf-token' +networks: + coolify: + external: true + volumes: couchdb_data: