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