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

22 wiersze
609 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
volumes:
- /var/run/docker.sock:/var/run/docker.sock