diff --git a/docker-compose.yml b/docker-compose.yml index ef1b056..ed543dd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,6 +19,10 @@ services: - "traefik.http.routers.traefik.entrypoints=websecure" - "traefik.http.routers.traefik.middlewares=auth" - "traefik.http.middlewares.auth.basicauth.users=admin:$$2y$$10$$yourhashedpassword" + - "traefik.http.routers.traefik-dashboard.rule=Host(`traefik.fancydictionary.com`) && (PathPrefix(`/dashboard`) || PathPrefix(`/api`))" + - "traefik.http.routers.traefik-dashboard.service=api@internal" + - "traefik.http.routers.traefik-dashboard.entrypoints=websecure" + - "traefik.http.routers.traefik-dashboard.middlewares=auth" dictionary-app: build: