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:
@@ -10,12 +10,6 @@ services:
|
|||||||
- "5984"
|
- "5984"
|
||||||
volumes:
|
volumes:
|
||||||
- couchdb_data:/opt/couchdb/data
|
- 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:
|
couchdb-init:
|
||||||
image: curlimages/curl:latest
|
image: curlimages/curl:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user