Created
May 17, 2020 17:29
-
-
Save McFateM/4b093a4f7e0ba29723495f4a0458717f to your computer and use it in GitHub Desktop.
DGDocker3 DNS-01 Challenge with LE Staging
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
api: | |
dashboard: true | |
entryPoints: | |
http: | |
address: ":80" | |
https: | |
address: ":443" | |
providers: | |
docker: | |
endpoint: "unix:///var/run/docker.sock" | |
exposedByDefault: false | |
# ## for HTTP-01 challenge | |
#certificatesResolvers: | |
# http: | |
# acme: | |
# # - Uncomment caServer line below to run on the staging let's encrypt server. Leave comment to go to prod. | |
# caServer: https://acme-staging-v02.api.letsencrypt.org/directory | |
# email: digital@grinnell.edu | |
# storage: acme.json | |
# httpChallenge: | |
# entryPoint: http | |
## for DNS-01 challenge | |
certificatesResolvers: | |
http: | |
acme: | |
# - Uncomment caServer line below to run on the staging Let's Encrypt server. Leave comment to go to prod. | |
#caServer: https://acme-staging-v02.api.letsencrypt.org/directory | |
email: digital@grinnell.edu | |
storage: acme.json | |
dnsChallenge: | |
provider: azure | |
environment: | |
AZURE_CLIENT_ID: "${AZURE_CLIENT_ID}" | |
AZURE_CLIENT_SECRET: "${AZURE_CLIENT_SECRET}" | |
AZURE_SUBSCRIPTION_ID: "${AZURE_SUBSCRIPTION_ID}" | |
AZURE_TENANT_ID: "${AZURE_TENANT_ID}" | |
AZURE_DNS_ZONE: "${AZURE_DNS_ZONE}" | |
AZURE_RESOURCE_GROUP: "${AZURE_RESOURCE_GROUP}" | |
log: | |
level: DEBUG | |
filePath: "/var/log/traefik.log" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment