26 lines
459 B
YAML
26 lines
459 B
YAML
## traefik.yml
|
|
# Entry Points
|
|
entryPoints:
|
|
web:
|
|
address: ":80"
|
|
websecure:
|
|
address: ":443"
|
|
|
|
# Docker configuration backend
|
|
providers:
|
|
docker:
|
|
exposedByDefault: false
|
|
network: compose_net
|
|
defaultRule: "Host(`{{ '{{' }} trimPrefix `/` .Name {{ '}}' }}.{{ local_domain }}`)"
|
|
|
|
# API and dashboard configuration
|
|
api:
|
|
insecure: true
|
|
dashboard: true
|
|
|
|
log:
|
|
filePath: "/var/log/traefik.log"
|
|
|
|
accessLog:
|
|
filePath: "/var/log/access.log"
|