From 9488e7fd5fee6e88911758ba8202409004edec63 Mon Sep 17 00:00:00 2001 From: Péter Szilágyi Date: Mon, 17 Jul 2017 20:38:40 +0300 Subject: cmd/puppeth: limit cotnainers to 10MB logs --- cmd/puppeth/module_faucet.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cmd/puppeth/module_faucet.go') diff --git a/cmd/puppeth/module_faucet.go b/cmd/puppeth/module_faucet.go index 5a5dc6506..acf1e4324 100644 --- a/cmd/puppeth/module_faucet.go +++ b/cmd/puppeth/module_faucet.go @@ -82,6 +82,11 @@ services: - CAPTCHA_SECRET={{.CaptchaSecret}}{{if .VHost}} - VIRTUAL_HOST={{.VHost}} - VIRTUAL_PORT=8080{{end}} + logging: + driver: "json-file" + options: + max-size: "1m" + max-file: "10" restart: always ` -- cgit