Added logging to traefik container

This commit is contained in:
Luke Else 2023-08-07 19:04:20 +01:00
parent 8e0b55d6dc
commit d16e075814

View File

@ -5,6 +5,7 @@ services:
container_name: "traefik"
command:
- "--api.dashboard=true"
- "--log.level=DEBUG"
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
- "--entrypoints.web.address=:80"
@ -20,6 +21,7 @@ services:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
labels:
- "traefik.enable=true"
- "traefik.log"
- "traefik.http.routers.traefik.rule=Host(`traefik.luke-else.co.uk`)"
- "traefik.http.routers.traefik.entrypoints=websecure"
- "traefik.http.routers.traefik.service=api@internal"