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: volumes:
- /volume1/docker/traefik/conf/traefik.yml:/etc/traefik/traefik.yml - /volume1/docker/traefik/conf/traefik.yml:/etc/traefik/traefik.yml
- /volume1/docker/traefik/conf/rules.yaml:/etc/traefik/rules.yaml - /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 - /var/run/docker.sock:/var/run/docker.sock
labels: labels:
- traefik.enable=true - traefik.enable=true

View File

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