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