docker-volume-borg-backup/traefik/traefik-v2.1-dashboard-with...

24 wiersze
827 B
YAML

version: '3.7'
services:
traefik:
image: traefik:v2.1
ports:
- 80:80
command:
- --entrypoints.http.address=:80
- --providers.docker.exposedByDefault=false
- --log.level=DEBUG
- --api=true
- --api.dashboard=true
labels:
traefik.enable: 'true'
traefik.http.routers.traefik-dashboard-http-router.entrypoints: http
traefik.http.routers.traefik-dashboard-http-router.rule: Host(`traefik-ui.local`)
traefik.http.routers.traefik-dashboard-http-router.service: api@internal
traefik.http.middlewares.traefik-dashboard-auth.basicauth.users: traefik_user:$$apr1$$epoKf5li$$QfTMJZOCS/halv3CiIUEu0
traefik.http.routers.traefik-dashboard-http-router.middlewares: traefik-dashboard-auth
volumes:
- /var/run/docker.sock:/var/run/docker.sock