summaryrefslogtreecommitdiffstats
path: root/volumes/proxy/traefik.toml
diff options
context:
space:
mode:
Diffstat (limited to 'volumes/proxy/traefik.toml')
-rw-r--r--volumes/proxy/traefik.toml24
1 files changed, 24 insertions, 0 deletions
diff --git a/volumes/proxy/traefik.toml b/volumes/proxy/traefik.toml
new file mode 100644
index 0000000..6d3acb6
--- /dev/null
+++ b/volumes/proxy/traefik.toml
@@ -0,0 +1,24 @@
+[entryPoints]
+ [entryPoints.web]
+ address = ":80"
+ [entryPoints.web.http.redirections.entryPoint]
+ to = "websecure"
+ scheme = "https"
+ [entryPoints.websecure]
+ address = ":443"
+
+[api]
+ dashboard = true
+
+[certificatesResolvers.smallstep.acme]
+ caServer = "https://root-ca" # acme-staging-v02.api.letsencrypt.org/directory"
+ storage = "acme.json"
+ [certificatesResolvers.smallstep.acme.httpChallenge]
+ entryPoint = "web"
+
+[providers.docker]
+ watch = true
+ network = "fediverse"
+
+[providers.file]
+ filename = "traefik_dynamic.toml"