fix: attach to per-resource Coolify network, not the global one

Traefik in this Coolify install resolves backends on a per-resource
network named after the resource UUID, not the shared "coolify" network.
COOLIFY_RESOURCE_UUID is injected into the compose env by Coolify, so
naming the external network from it lets Traefik find couchdb.
This commit is contained in:
Julien Calixte
2026-06-01 21:02:59 +02:00
parent 516daf0b07
commit b9bf218b9b

View File

@@ -61,6 +61,7 @@ services:
networks: networks:
coolify: coolify:
external: true external: true
name: ${COOLIFY_RESOURCE_UUID}
volumes: volumes:
couchdb_data: couchdb_data: