fix: dynamic conf volume mapping

This commit is contained in:
Vaala Cat 2023-03-18 16:37:54 +08:00
parent 999b030820
commit a85e70f71b
3 changed files with 1 additions and 3 deletions

View File

@ -7,11 +7,9 @@ services:
- "30443:443" - "30443:443"
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- ./traefik.yaml:/etc/traefik/traefik.yaml:ro - ./conf:/etc/traefik:ro
- ./log:/var/log/traefik - ./log:/var/log/traefik
- ./acme.json:/acme.json - ./acme.json:/acme.json
- ./cert:/cert
- ./dynamic.yaml:/etc/traefik/dynamic.yaml
environment: environment:
- CLOUDFLARE_EMAIL=xxxxxxxxxxxxxxxxxx - CLOUDFLARE_EMAIL=xxxxxxxxxxxxxxxxxx
- CLOUDFLARE_DNS_API_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxx - CLOUDFLARE_DNS_API_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxx