From 24da24d05ed062e3fdda8e69aa5701b9cfdf9433 Mon Sep 17 00:00:00 2001 From: Martin Lablans <6804500+lablans@users.noreply.github.com> Date: Tue, 1 Oct 2024 10:40:24 +0200 Subject: [PATCH] Traefik dashboard Deactivate traefik dashboard by default. Add trailing slash to PathPrefix to clarify the URL the dashboard is available at. --- minimal/docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/minimal/docker-compose.yml b/minimal/docker-compose.yml index 6e8818f..dc76331 100644 --- a/minimal/docker-compose.yml +++ b/minimal/docker-compose.yml @@ -10,13 +10,13 @@ services: - --providers.docker=true - --providers.docker.exposedbydefault=false - --providers.file.directory=/configuration/ - - --api.dashboard=true + - --api.dashboard=false - --accesslog=true - --entrypoints.web.http.redirections.entrypoint.to=websecure - --entrypoints.web.http.redirections.entrypoint.scheme=https labels: - "traefik.enable=true" - - "traefik.http.routers.dashboard.rule=PathPrefix(`/api`) || PathPrefix(`/dashboard`)" + - "traefik.http.routers.dashboard.rule=PathPrefix(`/api`) || PathPrefix(`/dashboard/`)" - "traefik.http.routers.dashboard.entrypoints=websecure" - "traefik.http.routers.dashboard.service=api@internal" - "traefik.http.routers.dashboard.tls=true"