From 4f30bc7089cab05edd5a870610bb3463bd33ea1b Mon Sep 17 00:00:00 2001 From: leej3 Date: Wed, 13 Nov 2024 09:03:34 +0000 Subject: [PATCH] add small tweaks --- web/deploy/docker-compose.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/web/deploy/docker-compose.yaml b/web/deploy/docker-compose.yaml index 077af12..cebc3f2 100644 --- a/web/deploy/docker-compose.yaml +++ b/web/deploy/docker-compose.yaml @@ -11,7 +11,7 @@ services: labels: - traefik.enable=true - traefik.docker.network=osm_traefik-public - - traefik.http.routers.osm_web_api.rule=Host("`${DEPLOYMENT_URI}`") && PathPrefix(`/api`) + - traefik.http.routers.osm_web_api.rule=Host(`${DEPLOYMENT_URI}`) && PathPrefix(`/api`) - "traefik.http.routers.osm_web_api.entrypoints=web,websecure" - traefik.http.services.osm_web_api.loadbalancer.server.port=80 - traefik.http.routers.osm_web_api.tls=true @@ -29,18 +29,17 @@ services: labels: - traefik.enable=true - traefik.docker.network=osm_traefik-public - - traefik.http.routers.dashboard.rule=Host("`${DEPLOYMENT_URI}`") + - traefik.http.routers.dashboard.rule=Host(`${DEPLOYMENT_URI}`) - traefik.http.routers.dashboard.entrypoints=web,websecure - traefik.http.services.dashboard.loadbalancer.server.port=8501 - traefik.http.routers.dashboard.tls=true - traefik.http.routers.dashboard.tls.certresolver=le expose: - "8501" - networks: - traefik-public restart: always - + reverse_proxy: image: traefik restart: always