From 5e5c4b998d7e65ed290ba716d0cc55fa0342b4a2 Mon Sep 17 00:00:00 2001 From: "D. Scott Boggs" Date: Thu, 21 Dec 2023 11:55:17 -0500 Subject: [PATCH] Domain name should be set in target environment --- docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 1efd1f2..c8e5d84 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -22,7 +22,7 @@ services: networks: - public environment: - CONDUIT_SERVER_NAME: chat.techwork.zone + CONDUIT_SERVER_NAME: ${DOMAIN} CONDUIT_DATABASE_PATH: /var/lib/matrix-conduit/ CONDUIT_DATABASE_BACKEND: rocksdb CONDUIT_PORT: 6167 @@ -38,7 +38,7 @@ services: labels: traefik.enable: true traefik.docker.network: public - traefik.http.routers.to-conduit.rule: Host(`chat.techwork.zone`) + traefik.http.routers.to-conduit.rule: Host(`${DOMAIN}`) traefik.http.routers.to-conduit.tls: true traefik.http.routers.to-conduit.tls.certresolver: letsencrypt traefik.http.routers.to-conduit.middlewares: cors-headers@docker @@ -59,7 +59,7 @@ services: labels: traefik.enable: true traefik.docker.network: proxy - traefik.http.routers.to-matrix-wellknown.rule: Host(`chat.techwork.zone`) && PathPrefix(`/.well-known/matrix`) + traefik.http.routers.to-matrix-wellknown.rule: Host(`${DOMAIN}`) && PathPrefix(`/.well-known/matrix`) traefik.http.routers.to-matrix-wellknown.tls: true traefik.http.routers.to-matrix-wellknown.tls.certresolver: letsencrypt traefik.http.routers.to-matrix-wellknown.middlewares: cors-headers@docker