mirror of
https://github.com/Dvorinka/Containr.git
synced 2026-06-03 20:12:58 +00:00
70 lines
1.2 KiB
YAML
70 lines
1.2 KiB
YAML
# Traefik Static Configuration
|
|
api:
|
|
dashboard: true
|
|
insecure: true # Enable dashboard without authentication for local development
|
|
debug: false
|
|
|
|
providers:
|
|
docker:
|
|
endpoint: "unix:///var/run/docker.sock"
|
|
exposedByDefault: false
|
|
network: containr-network
|
|
watch: true
|
|
|
|
entryPoints:
|
|
web:
|
|
address: ":80"
|
|
http:
|
|
redirections:
|
|
entryPoint:
|
|
to: websecure
|
|
scheme: https
|
|
permanent: true
|
|
|
|
websecure:
|
|
address: ":443"
|
|
http:
|
|
middlewares:
|
|
- secureHeaders@file
|
|
|
|
certificatesResolvers:
|
|
myresolver:
|
|
acme:
|
|
email: ${ACME_EMAIL}
|
|
storage: /letsencrypt/acme.json
|
|
httpChallenge:
|
|
entryPoint: web
|
|
|
|
log:
|
|
level: INFO
|
|
filePath: "/var/log/traefik/traefik.log"
|
|
format: json
|
|
|
|
accessLog:
|
|
filePath: "/var/log/traefik/access.log"
|
|
format: json
|
|
bufferingSize: 100
|
|
fields:
|
|
defaultMode: keep
|
|
names:
|
|
ClientUsername: drop
|
|
headers:
|
|
defaultMode: keep
|
|
names:
|
|
User-Agent: keep
|
|
Authorization: drop
|
|
Content-Type: keep
|
|
|
|
metrics:
|
|
prometheus:
|
|
addEntryPointsLabels: true
|
|
addServicesLabels: true
|
|
manualRouting: true
|
|
|
|
ping:
|
|
entryPoint: web
|
|
|
|
global:
|
|
checkNewVersion: true
|
|
sendAnonymousUsage: false
|