make caserver a configurable command
This commit is contained in:
@@ -11,6 +11,11 @@ TRAEFIK_DOMAIN=
|
|||||||
TRAEFIK_BASIC_AUTH_USERS=
|
TRAEFIK_BASIC_AUTH_USERS=
|
||||||
# Email address for obtaining LetsEncrypt certificates, needs only be changed if this is a public facing server
|
# Email address for obtaining LetsEncrypt certificates, needs only be changed if this is a public facing server
|
||||||
TRAEFIK_ACME_MAIL=
|
TRAEFIK_ACME_MAIL=
|
||||||
|
# Defaults to "https://acme-v02.api.letsencrypt.org/directory".
|
||||||
|
# Set to: "https://acme-staging-v02.api.letsencrypt.org/directory" for testing to check the certificate process.
|
||||||
|
# With staging, there will be an SSL error in the browser. When certificates are displayed and are emitted by
|
||||||
|
# "Fake LE Intermediate X1", the process went well and the envvar can be reset to empty to get valid certificates.
|
||||||
|
TRAEFIK_ACME_CASERVER=
|
||||||
|
|
||||||
### oCIS settings ###
|
### oCIS settings ###
|
||||||
# oCIS version. Defaults to "latest"
|
# oCIS version. Defaults to "latest"
|
||||||
|
|||||||
@@ -18,13 +18,7 @@ services:
|
|||||||
- "--certificatesResolvers.http.acme.email=${TRAEFIK_ACME_MAIL:-example@example.org}"
|
- "--certificatesResolvers.http.acme.email=${TRAEFIK_ACME_MAIL:-example@example.org}"
|
||||||
- "--certificatesResolvers.http.acme.storage=/certs/acme.json"
|
- "--certificatesResolvers.http.acme.storage=/certs/acme.json"
|
||||||
- "--certificatesResolvers.http.acme.httpChallenge.entryPoint=http"
|
- "--certificatesResolvers.http.acme.httpChallenge.entryPoint=http"
|
||||||
|
- "--certificatesresolvers.http.acme.caserver=${TRAEFIK_ACME_CASERVER:-https://acme-v02.api.letsencrypt.org/directory"
|
||||||
# Uncomment the command for testing when using real certificates:
|
|
||||||
# You will get an SSL error in the browser, but if you display the certificate and see it was emitted by
|
|
||||||
# "Fake LE Intermediate X1", it means all is good. It is the staging environment intermediate certificate used by Let's Encrypt.
|
|
||||||
# Re-comment to create real certificates.
|
|
||||||
#- "--certificatesresolvers.http.acme.caserver=https://acme-staging-v02.api.letsencrypt.org/directory"
|
|
||||||
|
|
||||||
# enable dashboard
|
# enable dashboard
|
||||||
- "--api.dashboard=true"
|
- "--api.dashboard=true"
|
||||||
# define entrypoints
|
# define entrypoints
|
||||||
|
|||||||
Reference in New Issue
Block a user