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" - "--api.insecure=true"
- "--providers.docker=true" - "--providers.docker=true"
- "--providers.docker.exposedbydefault=false" - "--providers.docker.exposedbydefault=false"
- "--entrypoints.websecure.address=:443" - "--entrypoints.web.address=:80"
- "--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"
ports: ports:
- "443:443" - "80:80"
- "8080:8080" - "8080:8080"
volumes: volumes:
- "./letsencrypt:/letsencrypt"
- "/var/run/docker.sock:/var/run/docker.sock:ro" - "/var/run/docker.sock:/var/run/docker.sock:ro"
whoami: whoami:
@ -28,5 +23,4 @@ services:
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.whoami.rule=Host(`whoami.the-edge.cloud`)" - "traefik.http.routers.whoami.rule=Host(`whoami.the-edge.cloud`)"
- "traefik.http.routers.whoami.entrypoints=websecure" - "traefik.http.routers.whoami.entrypoints=web"
- "traefik.http.routers.whoami.tls.certresolver=myresolver"