2022-08-25 22:22:11 +02:00
|
|
|
providers:
|
|
|
|
docker:
|
|
|
|
endpoint: "unix:///var/run/docker.sock"
|
|
|
|
exposedByDefault: false
|
|
|
|
network: traefik
|
|
|
|
file:
|
|
|
|
filename: /etc/traefik/file-provider.yml # Datei für alte/externe Services
|
|
|
|
|
|
|
|
entryPoints:
|
|
|
|
entry_http:
|
|
|
|
address: :80
|
2023-04-20 14:38:30 +02:00
|
|
|
http: # Umleitung http zu https
|
2022-08-25 22:22:11 +02:00
|
|
|
redirections:
|
|
|
|
entryPoint:
|
|
|
|
to: entry_https
|
|
|
|
scheme: https
|
|
|
|
permanent: true
|
|
|
|
entry_https:
|
|
|
|
address: :443
|
|
|
|
entry_ssh:
|
|
|
|
address: :2222 # wenn hier zusätzliche Ports eingetragen werden, müssen diese auch in der docker-compose.yml als Ports gemappt werden
|
|
|
|
|
2023-04-20 14:38:30 +02:00
|
|
|
# letsencrypt
|
2022-08-25 22:22:11 +02:00
|
|
|
certificatesResolvers:
|
|
|
|
resolver_letsencrypt:
|
|
|
|
acme:
|
|
|
|
email: "michael.grote@posteo.de"
|
|
|
|
storage: "/etc/traefik/acme/acme.json"
|
|
|
|
# caServer: "https://acme-staging-v02.api.letsencrypt.org/directory"
|
|
|
|
# zum Testen, da Staging kein Rate-Limiting einsetzt
|
|
|
|
tlsChallenge: true
|
|
|
|
|
|
|
|
log:
|
2023-11-16 20:09:14 +01:00
|
|
|
level: INFO
|
2022-08-25 22:22:11 +02:00
|
|
|
|
2024-09-12 10:28:47 +02:00
|
|
|
accessLog: {}
|
|
|
|
|
2022-08-25 22:22:11 +02:00
|
|
|
api:
|
|
|
|
insecure: true
|
2023-04-20 14:38:30 +02:00
|
|
|
dashboard: true # unter Port 8081 erreichbar
|
2023-11-16 20:09:14 +01:00
|
|
|
|
2024-02-02 13:52:33 +01:00
|
|
|
ping: {} # für healthcheck
|
|
|
|
|
2023-11-16 20:09:14 +01:00
|
|
|
#experimental:
|
|
|
|
# plugins:
|
|
|
|
# ldapAuth:
|
|
|
|
# moduleName: "github.com/wiltonsr/ldapAuth"
|
|
|
|
# version: "v0.1.4"
|