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/