From 1abf5d2e84af8d85aca87b6e364e1d0cbcb1b55f Mon Sep 17 00:00:00 2001 From: JannisDommer Date: Fri, 24 Nov 2023 11:36:30 +0100 Subject: [PATCH] test(traefik): pushing new config --- docker-compose.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index e8d0bce..fc6db75 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -16,6 +16,7 @@ services: #- /var/log:/var/log command: - --api.dashboard=true + - --api-insecure=true - --log.level=INFO #- --log.filepath=/var/log/traefik.log - --accesslog=true @@ -37,7 +38,7 @@ services: - --certificatesResolvers.myresolver.acme.caServer=https://acme-v02.api.letsencrypt.org/directory labels: - traefik.enable=true - - traefik.http.routers.mydashboard.rule=Host(`${HOSTNAME}`) && Path(`/dashboard/`) + - traefik.http.routers.mydashboard.rule=Host(`${HOSTNAME}`) && Path(`/dashboard/`) && Path(`/dashboard/js/`) - traefik.http.routers.mydashboard.service=api@internal - traefik.http.routers.mydashboard.middlewares=myauth - traefik.http.middlewares.myauth.basicauth.users=test:$$apr1$$H6uskkkW$$IgXLP6ewTrSuBkTrqE8wj/