diff options
-rw-r--r-- | docker-compose.yml | 4 | ||||
-rw-r--r-- | traefik_users | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 5b75a28..d982fd2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,9 @@ services: - "--providers.docker.exposedbydefault=false" - "--entrypoints.web.address=:80" - "--entrypoints.websecure.address=:443" - - "--certificatesresolvers.mytlschallenge.acme.tlschallenge=true" + - "--certificatesresolvers.mytlschallenge.acme.dnschallenge=true" + - "--certificatesresolvers.mytlschallenge.acme.dnschallenge.delaybeforecheck=0" + - "--certificatesresolvers.mytlschallenge.acme.dnschallenge.provider=cloudflare" - "--certificatesresolvers.mytlschallenge.acme.email=hanemile@protonmail.com" - "--certificatesresolvers.mytlschallenge.acme.storage=/letsencrypt/acme.json" - "--metrics.prometheus=true" diff --git a/traefik_users b/traefik_users new file mode 100644 index 0000000..140b1a5 --- /dev/null +++ b/traefik_users @@ -0,0 +1,5 @@ +# insert traefik users here +# +# Generate user:pass: +# $ htpasswd -nb user password + |