aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/puppeth/module_ethstats.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-07-18 01:38:40 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-07-18 01:38:40 +0800
commit9488e7fd5fee6e88911758ba8202409004edec63 (patch)
tree22d5b1799872acec4897e93e8c443e4158b61066 /cmd/puppeth/module_ethstats.go
parent23c6fcdbe834b70ff25473e6ff03da94814609c1 (diff)
downloaddexon-9488e7fd5fee6e88911758ba8202409004edec63.tar
dexon-9488e7fd5fee6e88911758ba8202409004edec63.tar.gz
dexon-9488e7fd5fee6e88911758ba8202409004edec63.tar.bz2
dexon-9488e7fd5fee6e88911758ba8202409004edec63.tar.lz
dexon-9488e7fd5fee6e88911758ba8202409004edec63.tar.xz
dexon-9488e7fd5fee6e88911758ba8202409004edec63.tar.zst
dexon-9488e7fd5fee6e88911758ba8202409004edec63.zip
cmd/puppeth: limit cotnainers to 10MB logs
Diffstat (limited to 'cmd/puppeth/module_ethstats.go')
-rw-r--r--cmd/puppeth/module_ethstats.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/puppeth/module_ethstats.go b/cmd/puppeth/module_ethstats.go
index 571df1454..da34acb3b 100644
--- a/cmd/puppeth/module_ethstats.go
+++ b/cmd/puppeth/module_ethstats.go
@@ -60,6 +60,11 @@ services:
environment:
- WS_SECRET={{.Secret}}{{if .VHost}}
- VIRTUAL_HOST={{.VHost}}{{end}}
+ logging:
+ driver: "json-file"
+ options:
+ max-size: "1m"
+ max-file: "10"
restart: always
`