Move acme certs to /local so they will persit between allocs

This commit is contained in:
IamTheFij 2022-09-06 09:45:04 -07:00
parent 722b63260c
commit fa5f9e28e6

View File

@ -157,7 +157,8 @@ job "traefik" {
<< if keyExists "traefik/acme/email" ->>
[certificatesResolvers.letsEncrypt.acme]
email = "<< key "traefik/acme/email" >>"
storage = "/secrets/acme.json"
# Store in /local because /secrets doesn't persist with ephemeral disk
storage = "/local/acme.json"
[certificatesResolvers.letsEncrypt.acme.dnsChallenge]
provider = "cloudflare"
resolvers = ["1.1.1.1:53", "8.8.8.8:53"]