From b9edce4f5f9b447f8eb7cb94639394d7e1886956 Mon Sep 17 00:00:00 2001 From: lasse Date: Wed, 9 Jul 2025 09:47:02 +0000 Subject: [PATCH] Add traefik/traefik.yml --- traefik/traefik.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 traefik/traefik.yml diff --git a/traefik/traefik.yml b/traefik/traefik.yml new file mode 100644 index 0000000..7608829 --- /dev/null +++ b/traefik/traefik.yml @@ -0,0 +1,31 @@ +api: + dashboard: true # Optional can be disabled + insecure: true # Optional can be disabled + debug: false # Optional can be Enabled if needed for troubleshooting +entryPoints: + web: + address: ":80" + # Optional if you want to redirect all HTTP to HTTPS + http: + redirections: + entryPoint: + to: websecure + scheme: https + websecure: + address: ":443" +serversTransport: + insecureSkipVerify: true +providers: + docker: + endpoint: "unix:///var/run/docker.sock" + exposedByDefault: false + network: frontend # Optional; Only use the "proxy" Docker network, even if containers are on multiple networks. +certificatesResolvers: + letencrypt: + acme: + email: it@wiedemann-sh.de + storage: /certs/acme.json + caServer: https://acme-v02.api.letsencrypt.org/directory # prod (default) + #caServer: https://acme-staging-v02.api.letsencrypt.org/directory # staging + httpChallenge: + entryPoint: web \ No newline at end of file