diff --git a/docker-compose.yml b/docker-compose.yml index fd120dd..b4de061 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -25,6 +25,13 @@ services: labels: - "traefik.enable=true" + + #- "traefik.http.routers.api.rule=Path(/api) " + #- "traefik.http.routers.api.service=api@internal" + #- "traefik.http.routers.api.middlewares=auth" + #- "traefik.http.middlewares.auth.basicauth.users=test:$$apr1$$H6uskkkW$$IgXLP6ewTrSuBkTrqE8wj/,test2:$$apr1$$d9hr9HBB$$4HxwgUir3HP4EsggP/QNo0" + + whoami: # A container that exposes an API to show its IP address image: traefik/whoami diff --git a/traefik.yml b/traefik.yml index 2ed458c..84314f4 100644 --- a/traefik.yml +++ b/traefik.yml @@ -12,6 +12,8 @@ entryPoints: address: ":443" api: + insecure: true + dashboard: true # docker: # endpoint: "unix:///var/run/docker.sock"