fix: drop manual Traefik labels, let Coolify auto-route

When SERVICE_FQDN_<NAME>_<PORT> is set, Coolify auto-injects its own
Traefik router and service labels on the couchdb container. Our manual
labels reused the same router/service name (couchdb), so the two
definitions collided and Traefik ended up with a router whose backing
service had no servers — Traefik returned "no available server" for
couch.apoena.dev. Dropping the manual labels lets Coolify own routing
end-to-end.
This commit is contained in:
Julien Calixte
2026-06-01 20:50:49 +02:00
parent cff802bd3f
commit 6e35ac4ad4

View File

@@ -10,12 +10,6 @@ services:
- "5984"
volumes:
- couchdb_data:/opt/couchdb/data
labels:
- "traefik.enable=true"
- "traefik.http.routers.couchdb.rule=Host(`${SERVICE_FQDN_COUCHDB_5984}`)"
- "traefik.http.routers.couchdb.entrypoints=https"
- "traefik.http.routers.couchdb.tls=true"
- "traefik.http.services.couchdb.loadbalancer.server.port=5984"
couchdb-init:
image: curlimages/curl:latest