add log level
This commit is contained in:
parent
b5c735aa6c
commit
73b8f9dd71
@ -5,6 +5,8 @@ services:
|
|||||||
image: traefik:latest
|
image: traefik:latest
|
||||||
container_name: "traefik"
|
container_name: "traefik"
|
||||||
restart: always
|
restart: always
|
||||||
|
command:
|
||||||
|
- "--log.level=DEBUG"
|
||||||
ports:
|
ports:
|
||||||
- "8888:80"
|
- "8888:80"
|
||||||
- "8443:443"
|
- "8443:443"
|
||||||
@ -24,8 +26,6 @@ services:
|
|||||||
#- './conf/acme.json:/acme.json'
|
#- './conf/acme.json:/acme.json'
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
|
|
||||||
|
|
||||||
- "traefik.http.routers.api.rule=Path(/api) "
|
- "traefik.http.routers.api.rule=Path(/api) "
|
||||||
- "traefik.http.routers.api.service=api@internal"
|
- "traefik.http.routers.api.service=api@internal"
|
||||||
#- "traefik.http.routers.api.middlewares=auth"
|
#- "traefik.http.routers.api.middlewares=auth"
|
||||||
|
@ -11,10 +11,19 @@ entryPoints:
|
|||||||
websecure:
|
websecure:
|
||||||
address: ":443"
|
address: ":443"
|
||||||
|
|
||||||
|
|
||||||
|
http:
|
||||||
|
routers:
|
||||||
|
my-router:
|
||||||
|
rule: "Path(`/foo`)"
|
||||||
|
service: service-foo
|
||||||
|
|
||||||
|
|
||||||
api:
|
api:
|
||||||
insecure: true
|
insecure: true
|
||||||
dashboard: true
|
dashboard: true
|
||||||
entryPoint: "websecure"
|
entryPoint: "websecure"
|
||||||
|
|
||||||
# docker:
|
# docker:
|
||||||
# endpoint: "unix:///var/run/docker.sock"
|
# endpoint: "unix:///var/run/docker.sock"
|
||||||
# exposedByDefault: false
|
# exposedByDefault: false
|
||||||
|
Loading…
Reference in New Issue
Block a user