From: garciadeblas Date: Tue, 17 Dec 2019 10:01:06 +0000 (+0100) Subject: Log rotate configuration for grafana X-Git-Tag: v7.0.1rc2~1^2~7 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F12%2F8412%2F2;p=osm%2Fdevops.git Log rotate configuration for grafana Change-Id: I0effeb043ef6d034ff46b48c5366ea60e81f838c Signed-off-by: garciadeblas --- diff --git a/installers/docker/docker-compose.yaml b/installers/docker/docker-compose.yaml index c8b846d3..104de48b 100644 --- a/installers/docker/docker-compose.yaml +++ b/installers/docker/docker-compose.yaml @@ -270,3 +270,9 @@ services: - "${OSM_GRAFANA_PORTS:-3000:3000}" networks: - netOSM + logging: + driver: "json-file" + options: + max-size: "100m" + max-file: "2" +