cmd/puppeth: limit cotnainers to 10MB logs

This commit is contained in:
Péter Szilágyi
2017-07-17 20:38:40 +03:00
parent 23c6fcdbe8
commit 9488e7fd5f
5 changed files with 25 additions and 0 deletions

View File

@ -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
`