servers/services/traefik/config/traefik.yaml
2021-03-13 15:06:33 +01:00

62 lines
1.5 KiB
YAML

---
global:
checkNewVersion: true
sendAnonymousUsage: true
################################################################
# EntryPoints configuration
################################################################
entryPoints:
web:
address: :80
websecure:
address: :443
################################################################
# Traefik logs configuration
################################################################
log:
level: DEBUG
format: common
################################################################
# Access logs configuration
################################################################
accessLog:
format: common
################################################################
# API and dashboard configuration
################################################################
api:
dashboard: true
################################################################
# Ping configuration
################################################################
# Enable ping
#ping:
# Name of the related entry point
#
# Optional
# Default: "traefik"
#
# entryPoint: traefik
################################################################
# Docker configuration backend
################################################################
providers:
# File configuration for non-docker containers
file:
directory: "/etc/traefik/dynamic"
# Enable Docker configuration backend
docker:
endpoint: "unix:///var/run/docker.sock"
swarmMode: true
exposedByDefault: false
network: "traefik"