Update docker-compose-command-config.yml

rename custom resolver
This commit is contained in:
LRVT 2023-07-28 19:00:50 +02:00 committed by GitHub
parent 928928469d
commit b7fa7069cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,14 +29,14 @@ services:
- --api.insecure=true # expose traefik api dashboard on TCP/8080 without need for router - --api.insecure=true # expose traefik api dashboard on TCP/8080 without need for router
#################################################### ####################################################
# !!! ADJUST TO YOUR INFRASTRUCTURE SETUP BELOW !!!! # !!! ADJUST TO YOUR INFRASTRUCTURE SETUP BELOW !!!!
- --entrypoints.https.http.tls.certresolver=cloudflare # define default cert resolver - --entrypoints.https.http.tls.certresolver=myresolver # define default cert resolver
- --entrypoints.https.http.tls.domains[0].main=example.com # define main domain, change to your domain - --entrypoints.https.http.tls.domains[0].main=example.com # define main domain, change to your domain
- --entrypoints.https.http.tls.domains[0].sans=*.example.com # define sans domain, change to your domain - --entrypoints.https.http.tls.domains[0].sans=*.example.com # define sans domain, change to your domain
- --certificatesresolvers.cloudflare.acme.email=mycloudflareemail@domain.tld # define your cloudflare email address - --certificatesresolvers.myresolver.acme.email=mycloudflareemail@domain.tld # define your cloudflare email address
- --certificatesresolvers.cloudflare.acme.dnschallenge=true # enable dns challenge to obtain wildcard certificates - --certificatesresolvers.myresolver.acme.dnschallenge=true # enable dns challenge to obtain wildcard certificates
- --certificatesresolvers.cloudflare.acme.dnschallenge.provider=cloudflare # define provider for certificates - --certificatesresolvers.myresolver.acme.dnschallenge.provider=cloudflare # define provider for certificates
- --certificatesresolvers.cloudflare.acme.storage=/etc/traefik/acme.json # define acme path for certificate information - --certificatesresolvers.myresolver.acme.storage=/etc/traefik/acme.json # define acme path for certificate information
- --certificatesresolvers.cloudflare.acme.dnschallenge.resolvers=1.1.1.1:53,1.0.0.1:53 # define cloudflare dns servers as the resolver - --certificatesresolvers.myresolver.acme.dnschallenge.resolvers=1.1.1.1:53,1.0.0.1:53 # define cloudflare dns servers as the resolver
#################################################### ####################################################
- --log.level=INFO # enable log level - --log.level=INFO # enable log level
- --accesslog=true # enable access logs - --accesslog=true # enable access logs