From 1fff78ed8293b3e6c7f865a7a6b02fbddad662d5 Mon Sep 17 00:00:00 2001 From: Lev Date: Tue, 15 Mar 2022 02:36:46 +0300 Subject: [PATCH] Move Traefik config to appropriate override (#698) Fixes #690 --- compose.yaml | 5 ----- overrides/compose.proxy.yaml | 7 +++++++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/compose.yaml b/compose.yaml index da3decfd..2916c38e 100644 --- a/compose.yaml +++ b/compose.yaml @@ -43,11 +43,6 @@ services: depends_on: - backend - websocket - labels: - - traefik.enable=true - - traefik.http.services.frontend.loadbalancer.server.port=8080 - - traefik.http.routers.frontend-http.entrypoints=web - - traefik.http.routers.frontend-http.rule=HostRegexp(`{any:.+}`) websocket: <<: *depends_on_configurator diff --git a/overrides/compose.proxy.yaml b/overrides/compose.proxy.yaml index fca651b1..d2dc319a 100644 --- a/overrides/compose.proxy.yaml +++ b/overrides/compose.proxy.yaml @@ -1,4 +1,11 @@ services: + frontend: + labels: + - traefik.enable=true + - traefik.http.services.frontend.loadbalancer.server.port=8080 + - traefik.http.routers.frontend-http.entrypoints=web + - traefik.http.routers.frontend-http.rule=HostRegexp(`{any:.+}`) + proxy: image: traefik:2.5 command: