Chapter X
Some Chapter title
Lorem Ipsum.
Einrichten und Starten
config File erstellen
## traefik.yml
# Docker configuration backend
providers:
docker:
defaultRule: "Host(`{{ trimPrefix `/` .Name }}.master.k8s`)"
# API and dashboard configuration
api:
insecure: true
container starten
docker run -d --name traefik -p 8080:8080 -p 80:80 \
-v /data/traefik_data/traefik.yml:/etc/traefik/traefik.yml \
-v /var/run/docker.sock:/var/run/docker.sock \
traefik:v2.0