This commit is contained in:
mathieu 2024-05-21 08:25:09 +02:00
parent 5ea362876a
commit a9871ead9c
2 changed files with 4 additions and 1 deletions

View File

@ -17,6 +17,7 @@ services:
volumes:
- /volume1/docker/traefik/conf/traefik.yml:/etc/traefik/traefik.yml
- /volume1/docker/traefik/conf/rules.yaml:/etc/traefik/rules.yaml
- /volume1/docker/traefik/acme:/etc/traefik/acme
- /var/run/docker.sock:/var/run/docker.sock
labels:
- traefik.enable=true

View File

@ -19,11 +19,13 @@ entryPoints:
tls:
certresolver: myresolver
certificatesResolvers:
myresolver:
acme:
email: lecoiffiermathieu@gmail.com
storage: acme.json
storage: /etc/traefik/acme/acme.json
caServer: https://acme-staging-v02.api.letsencrypt.org/directory
httpChallenge:
# used during the challenge
entryPoint: web