added Dockerstuff for dev and prod using traefik

This commit is contained in:
gw3000 2023-07-11 18:24:36 +02:00
parent 17c06d1eaa
commit 879366eb95
8 changed files with 221 additions and 0 deletions

26
traefik.prod.toml Normal file
View file

@ -0,0 +1,26 @@
[entryPoints]
[entryPoints.web]
address = ":80"
[entryPoints.web.http]
[entryPoints.web.http.redirections]
[entryPoints.web.http.redirections.entryPoint]
to = "websecure"
scheme = "https"
[entryPoints.websecure]
address = ":443"
[accessLog]
[api]
dashboard = true
[providers]
[providers.docker]
exposedByDefault = false
[certificatesResolvers.letsencrypt.acme]
email = "your@email.com"
storage = "/certificates/acme.json"
[certificatesResolvers.letsencrypt.acme.httpChallenge]
entryPoint = "web"