67 lines
1.5 KiB
YAML
67 lines
1.5 KiB
YAML
################################################################
|
|
# Global configuration
|
|
################################################################
|
|
|
|
global:
|
|
checkNewVersion: true
|
|
sendAnonymousUsage: true
|
|
|
|
################################################################
|
|
# EntryPoints configuration
|
|
################################################################
|
|
|
|
entryPoints:
|
|
web:
|
|
address: :80
|
|
http:
|
|
redirections:
|
|
entryPoint:
|
|
to: "websecure"
|
|
scheme: "https"
|
|
|
|
websecure:
|
|
address: :443
|
|
http3: {}
|
|
|
|
################################################################
|
|
# API and dashboard configuration
|
|
################################################################
|
|
|
|
api:
|
|
insecure: true
|
|
dashboard: true
|
|
|
|
################################################################
|
|
# Docker configuration backend
|
|
################################################################
|
|
|
|
providers:
|
|
docker:
|
|
endpoint: "unix:///var/run/docker.sock"
|
|
exposedByDefault: false
|
|
network: "traefik_public"
|
|
file:
|
|
filename: "/etc/traefik/dynamic.yml"
|
|
watch: true
|
|
providersThrottleDuration: 10
|
|
|
|
certificatesResolvers:
|
|
tls-resolver:
|
|
acme:
|
|
email: mail@example.com
|
|
storage: "/etc/traefik/acme/acme.json"
|
|
tlsChallenge: {}
|
|
|
|
################################################################
|
|
# Logging
|
|
################################################################
|
|
|
|
metrics:
|
|
prometheus:
|
|
buckets:
|
|
- 0.1
|
|
- 0.3
|
|
- 1.2
|
|
- 5.0
|
|
addRoutersLabels: true
|