Domain name should be set in target environment

This commit is contained in:
D. Scott Boggs 2023-12-21 11:55:17 -05:00
parent e42a8b560f
commit 5e5c4b998d

View file

@ -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