From d5164ecef937dcfd74c9c2993a88f4a65ce1337c Mon Sep 17 00:00:00 2001 From: chandi Date: Mon, 3 Apr 2023 11:44:21 +0200 Subject: [PATCH] freeswitch: only store a small window of the logs permanently --- docker-compose.tmpl.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker-compose.tmpl.yml b/docker-compose.tmpl.yml index 626a9a0..41790f2 100644 --- a/docker-compose.tmpl.yml +++ b/docker-compose.tmpl.yml @@ -134,6 +134,12 @@ services: - ./conf/dialplan_public:/etc/freeswitch/dialplan/public_docker - vol-freeswitch:/var/freeswitch/meetings network_mode: host + logging: + # reduce logs to a minimum, so `docker-compose logs -f` still works + driver: "local" + options: + max-size: "10k" + max-file: "1" nginx: build: