From 9488e7fd5fee6e88911758ba8202409004edec63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Mon, 17 Jul 2017 20:38:40 +0300 Subject: cmd/puppeth: limit cotnainers to 10MB logs --- cmd/puppeth/module_node.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cmd/puppeth/module_node.go') diff --git a/cmd/puppeth/module_node.go b/cmd/puppeth/module_node.go index ce1d34135..9fe97c892 100644 --- a/cmd/puppeth/module_node.go +++ b/cmd/puppeth/module_node.go @@ -68,6 +68,11 @@ services: - MINER_NAME={{.Etherbase}} - GAS_TARGET={{.GasTarget}} - GAS_PRICE={{.GasPrice}} + logging: + driver: "json-file" + options: + max-size: "1m" + max-file: "10" restart: always ` -- cgit v1.2.3