add log level

This commit is contained in:
mathieu 2024-05-14 19:00:44 +02:00
parent b5c735aa6c
commit 73b8f9dd71
2 changed files with 11 additions and 2 deletions

View File

@ -5,6 +5,8 @@ services:
image: traefik:latest
container_name: "traefik"
restart: always
command:
- "--log.level=DEBUG"
ports:
- "8888:80"
- "8443:443"
@ -24,8 +26,6 @@ services:
#- './conf/acme.json:/acme.json'
labels:
- "traefik.enable=true"
- "traefik.http.routers.api.rule=Path(/api) "
- "traefik.http.routers.api.service=api@internal"
#- "traefik.http.routers.api.middlewares=auth"

View File

@ -11,10 +11,19 @@ entryPoints:
websecure:
address: ":443"
http:
routers:
my-router:
rule: "Path(`/foo`)"
service: service-foo
api:
insecure: true
dashboard: true
entryPoint: "websecure"
# docker:
# endpoint: "unix:///var/run/docker.sock"
# exposedByDefault: false