traefik dasboard public

This commit is contained in:
Czechman 2022-12-08 01:10:00 +01:00
parent 1eff5b733c
commit 44c5a4cc8d
1 changed files with 8 additions and 8 deletions

View File

@ -10,14 +10,14 @@ services:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- ./config:/etc/traefik - ./config:/etc/traefik
# labels: labels:
# - "traefik.enable=true" - "traefik.enable=true"
# - "traefik.http.routers.traefik.rule=Host(`traefik.example.com`) && (PathPrefix(`/api`) || PathPrefix(`/dashboard`))" - "traefik.http.routers.traefik.rule=Host(`tr43f1k.czechman.dynvpn.de`) && (PathPrefix(`/api`) || PathPrefix(`/dashboard`))"
# - "traefik.http.routers.traefik.entrypoints=websecure" - "traefik.http.routers.traefik.entrypoints=websecure"
# - "traefik.http.routers.traefik.tls.certresolver=default" - "traefik.http.routers.traefik.tls.certresolver=default"
# - "traefik.http.routers.traefik.service=api@internal" - "traefik.http.routers.traefik.service=api@internal"
# - "traefik.http.routers.traefik.middlewares=auth@docker" - "traefik.http.routers.traefik.middlewares=auth@docker"
# - "traefik.http.middlewares.auth.basicauth.users=user:pass" # Siehe Anleitung - "traefik.http.middlewares.auth.basicauth.users=McSeeno:$$2y$$13$$maYBYazCRDGmcKdSy/QA0eWBUEIpobxcUy.z68fnifcpoCqWm18wW,gast:$$apr1$$cGUjveuw$$jbRcmTDOfAsqcc9FfsNvG0" # Siehe Anleitung
networks: networks:
- traefik_proxy - traefik_proxy
- default - default