added Dockerstuff for dev and prod using traefik
This commit is contained in:
parent
17c06d1eaa
commit
879366eb95
8 changed files with 221 additions and 0 deletions
26
traefik.prod.toml
Normal file
26
traefik.prod.toml
Normal 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"
|
Loading…
Add table
Add a link
Reference in a new issue