Files
quixotic/traefik.yml
Andrey Kondratev b8e2bf1090 dockify
2025-08-28 16:37:59 +05:00

52 lines
929 B
YAML

# Static configuration file for Traefik
global:
checkNewVersion: false
sendAnonymousUsage: false
# Entry points configuration
entryPoints:
web:
address: ":80"
http:
redirections:
entryPoint:
to: websecure
scheme: https
permanent: true
websecure:
address: ":443"
# API and dashboard configuration
api:
dashboard: true
insecure: true
# Providers configuration
providers:
docker:
endpoint: "unix:///var/run/docker.sock"
exposedByDefault: false
network: quixotic
# Certificate resolvers
certificatesResolvers:
letsencrypt:
acme:
email: admin@example.com
storage: /letsencrypt/acme.json
tlsChallenge: {}
# Logging
log:
level: INFO
filePath: "/var/log/traefik/traefik.log"
accessLog:
filePath: "/var/log/traefik/access.log"
# Metrics
metrics:
prometheus:
addEntryPointsLabels: true
addServicesLabels: true