File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -425,6 +425,11 @@ services:
425425 - "{{.Port}}:80"{{else}}
426426 environment:
427427 - VIRTUAL_HOST={{.VHost}}{{end}}
428+ logging:
429+ driver: "json-file"
430+ options:
431+ max-size: "1m"
432+ max-file: "10"
428433 restart: always
429434`
430435
Original file line number Diff line number Diff line change @@ -60,6 +60,11 @@ services:
6060 environment:
6161 - WS_SECRET={{.Secret}}{{if .VHost}}
6262 - VIRTUAL_HOST={{.VHost}}{{end}}
63+ logging:
64+ driver: "json-file"
65+ options:
66+ max-size: "1m"
67+ max-file: "10"
6368 restart: always
6469`
6570
Original file line number Diff line number Diff line change @@ -82,6 +82,11 @@ services:
8282 - CAPTCHA_SECRET={{.CaptchaSecret}}{{if .VHost}}
8383 - VIRTUAL_HOST={{.VHost}}
8484 - VIRTUAL_PORT=8080{{end}}
85+ logging:
86+ driver: "json-file"
87+ options:
88+ max-size: "1m"
89+ max-file: "10"
8590 restart: always
8691`
8792
Original file line number Diff line number Diff line change @@ -43,6 +43,11 @@ services:
4343 - "{{.Port}}:80"
4444 volumes:
4545 - /var/run/docker.sock:/tmp/docker.sock:ro
46+ logging:
47+ driver: "json-file"
48+ options:
49+ max-size: "1m"
50+ max-file: "10"
4651 restart: always
4752`
4853
Original file line number Diff line number Diff line change @@ -68,6 +68,11 @@ services:
6868 - MINER_NAME={{.Etherbase}}
6969 - GAS_TARGET={{.GasTarget}}
7070 - GAS_PRICE={{.GasPrice}}
71+ logging:
72+ driver: "json-file"
73+ options:
74+ max-size: "1m"
75+ max-file: "10"
7176 restart: always
7277`
7378
You can’t perform that action at this time.
0 commit comments