From 317798d02525245ac2cd823ebfe5ae9297a09a9b Mon Sep 17 00:00:00 2001 From: Markus Koetter Date: Fri, 29 Oct 2021 08:07:48 +0200 Subject: [PATCH] =?UTF-8?q?docker-compose=20-=20use=20logging=20limits=20?= =?UTF-8?q?=20-=20ldap=20sync=20is=20very=20noisy,=20limits/rotation=20req?= =?UTF-8?q?uired=20=20-=20can=20be=20verified=20with=20=20=20=20docker=20i?= =?UTF-8?q?nspect=20-f=20'{{.HostConfig.LogConfig}}'=2088=E2=80=A6de=20=20?= =?UTF-8?q?=20=20{json-file=20map[max-file:3=20max-size:10m]}?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 227f77bf..e977de4f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,6 +4,10 @@ services: image: h44z/wg-portal:1.0.6 container_name: wg-portal restart: unless-stopped + logging: + options: + max-size: "10m" + max-file: "3" cap_add: - NET_ADMIN network_mode: "host"