This commit is contained in:
mathieu 2024-05-20 17:12:42 +02:00
parent 1bee4fd9d6
commit f154911284

View File

@ -18,6 +18,15 @@ services:
- /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
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
labels:
- traefik.enable: true
- traefik.http.routers.traefik_https.rule: Host(`huguettes.freeboxos.fr`) && Path(`/traefik`)
- traefik.http.routers.traefik_https.entrypoints: websecure
- traefik.http.routers.traefik_https.tls: true
- traefik.http.routers.traefik_https.tls.certResolver: myresolver
- traefik.http.routers.traefik_https.service: api@internal
whoami: whoami:
# A container that exposes an API to show its IP address # A container that exposes an API to show its IP address