From 15d2ea0f8d8285f59aafb0463cc00b709e0824d5 Mon Sep 17 00:00:00 2001 From: Nicolas Meienberger Date: Wed, 10 May 2023 13:25:25 +0200 Subject: [PATCH] chore(conduit): remove extra exposed port --- apps/matrix-conduit/docker-compose.yml | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/apps/matrix-conduit/docker-compose.yml b/apps/matrix-conduit/docker-compose.yml index 3fbdda3e..0c09f805 100644 --- a/apps/matrix-conduit/docker-compose.yml +++ b/apps/matrix-conduit/docker-compose.yml @@ -4,8 +4,6 @@ services: matrix-conduit: container_name: matrix-conduit image: matrixconduit/matrix-conduit:v0.5.0 - ports: - - ${APP_PORT}:6167 environment: CONDUIT_SERVER_NAME: ${APP_DOMAIN} CONDUIT_DATABASE_PATH: /var/lib/matrix-conduit/ @@ -17,7 +15,7 @@ services: CONDUIT_TRUSTED_SERVERS: ${TRUSTED_SERVERS:-[]} CONDUIT_LOG: ${LOG:-warn,rocket=off,_=off,sled=off} CONDUIT_ADDRESS: 0.0.0.0 - CONDUIT_CONFIG: '' # Ignore this + CONDUIT_CONFIG: "" # Ignore this restart: unless-stopped volumes: - ${APP_DATA_DIR}/data:/var/lib/matrix-conduit/ @@ -32,16 +30,16 @@ services: traefik.http.services.matrix.loadbalancer.server.port: 6167 matrix-conduit-well-known: - container_name: matrix-conduit-well-known - build: - context: nginx - dockerfile: Dockerfile - environment: - APP_DOMAIN: ${APP_DOMAIN} - restart: unless-stopped - networks: - - tipi_main_network - labels: + container_name: matrix-conduit-well-known + build: + context: nginx + dockerfile: Dockerfile + environment: + APP_DOMAIN: ${APP_DOMAIN} + restart: unless-stopped + networks: + - tipi_main_network + labels: traefik.enable: ${APP_EXPOSED} traefik.http.routers.matrix-well-knows.rule: Host(`${APP_DOMAIN}`) && PathPrefix(`/.well-known/matrix`) traefik.http.routers.matrix-well-knows.entrypoints: websecure