Update 'whoamissl.yaml'

This commit is contained in:
Adolfo Delorenzo 2023-01-31 16:28:46 +00:00
parent f0a6f40625
commit a54209d112

View File

@ -10,16 +10,11 @@ services:
- "--api.insecure=true"
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
- "--entrypoints.websecure.address=:443"
- "--certificatesresolvers.myresolver.acme.tlschallenge=true"
#- "--certificatesresolvers.myresolver.acme.caserver=https://acme-staging-v02.api.letsencrypt.org/directory"
- "--certificatesresolvers.myresolver.acme.email=adolfo.delorenzo@portainer.io"
- "--certificatesresolvers.myresolver.acme.storage=/letsencrypt/acme.json"
- "--entrypoints.web.address=:80"
ports:
- "443:443"
- "80:80"
- "8080:8080"
volumes:
- "./letsencrypt:/letsencrypt"
- "/var/run/docker.sock:/var/run/docker.sock:ro"
whoami:
@ -28,5 +23,4 @@ services:
labels:
- "traefik.enable=true"
- "traefik.http.routers.whoami.rule=Host(`whoami.the-edge.cloud`)"
- "traefik.http.routers.whoami.entrypoints=websecure"
- "traefik.http.routers.whoami.tls.certresolver=myresolver"
- "traefik.http.routers.whoami.entrypoints=web"