traefik: updates and logs to stdout instead of files
This commit is contained in:
parent
4c9955b104
commit
9b1ff29ce1
@ -12,7 +12,7 @@ networks:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
traefik:
|
traefik:
|
||||||
image: traefik:v3.0
|
image: traefik:v3.2
|
||||||
container_name: traefik
|
container_name: traefik
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file:
|
env_file:
|
||||||
@ -23,7 +23,6 @@ services:
|
|||||||
- ./rules:/rules:ro
|
- ./rules:/rules:ro
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
- {{ base_volume_path }}/traefik/rules:/rules/extra:ro
|
- {{ base_volume_path }}/traefik/rules:/rules/extra:ro
|
||||||
- {{ base_volume_path }}/traefik/logs:/logs
|
|
||||||
- {{ base_volume_path }}/traefik/acme:/acme
|
- {{ base_volume_path }}/traefik/acme:/acme
|
||||||
|
|
||||||
# This is mostly just so that the traefik network gets created
|
# This is mostly just so that the traefik network gets created
|
||||||
|
@ -2,11 +2,8 @@ api:
|
|||||||
insecure: true
|
insecure: true
|
||||||
|
|
||||||
log:
|
log:
|
||||||
filePath: /logs/traefik.log
|
|
||||||
level: INFO
|
level: INFO
|
||||||
accessLog:
|
accessLog:
|
||||||
filePath: /logs/access.log
|
|
||||||
bufferingSize: 100
|
|
||||||
|
|
||||||
entryPoints:
|
entryPoints:
|
||||||
web:
|
web:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user