added DNS resolvers for SSL DNS challenge
This commit is contained in:
parent
e2b612e664
commit
a40e9ad9ad
@ -12,6 +12,7 @@ services:
|
|||||||
# configure Let's Encrypt automatic certificates
|
# configure Let's Encrypt automatic certificates
|
||||||
- --certificatesresolvers.${TRAEFIK_CERTRESOLVER}.acme.dnschallenge=true
|
- --certificatesresolvers.${TRAEFIK_CERTRESOLVER}.acme.dnschallenge=true
|
||||||
- --certificatesresolvers.${TRAEFIK_CERTRESOLVER}.acme.dnschallenge.provider=${TRAEFIK_DNSPROVIDER}
|
- --certificatesresolvers.${TRAEFIK_CERTRESOLVER}.acme.dnschallenge.provider=${TRAEFIK_DNSPROVIDER}
|
||||||
|
- --certificatesresolvers.${TRAEFIK_CERTRESOLVER}.acme.dnschallenge.resolvers=${TRAEFIK_DNSRESOLVERS}
|
||||||
- --certificatesresolvers.${TRAEFIK_CERTRESOLVER}.acme.email=${LETSENCRYPT_EMAIL}
|
- --certificatesresolvers.${TRAEFIK_CERTRESOLVER}.acme.email=${LETSENCRYPT_EMAIL}
|
||||||
- --certificatesresolvers.${TRAEFIK_CERTRESOLVER}.acme.keytype=RSA4096
|
- --certificatesresolvers.${TRAEFIK_CERTRESOLVER}.acme.keytype=RSA4096
|
||||||
- --certificatesresolvers.${TRAEFIK_CERTRESOLVER}.acme.storage=/certs.json
|
- --certificatesresolvers.${TRAEFIK_CERTRESOLVER}.acme.storage=/certs.json
|
||||||
|
@ -13,6 +13,7 @@ TRAEFIK_TLSENABLED=true
|
|||||||
# Certificate provider
|
# Certificate provider
|
||||||
TRAEFIK_DNSPROVIDER=hetzner
|
TRAEFIK_DNSPROVIDER=hetzner
|
||||||
TRAEFIK_DNSPROVIDER_ENVFILE=./.env.dnsprovider
|
TRAEFIK_DNSPROVIDER_ENVFILE=./.env.dnsprovider
|
||||||
|
TRAEFIK_DNSRESOLVERS=1.1.1.1:53,1.0.0.1:53
|
||||||
LETSENCRYPT_EMAIL=admin@mydomain.com
|
LETSENCRYPT_EMAIL=admin@mydomain.com
|
||||||
|
|
||||||
# Debugging
|
# Debugging
|
||||||
|
Loading…
Reference in New Issue
Block a user