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:
@@ -61,6 +61,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
coolify:
|
coolify:
|
||||||
external: true
|
external: true
|
||||||
|
name: ${COOLIFY_RESOURCE_UUID}
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
couchdb_data:
|
couchdb_data:
|
||||||
|
|||||||
Reference in New Issue
Block a user