diff --git a/docker-compose.yml b/docker-compose.yml index e11f133..d2c6df2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,12 @@ -version: '3' +version: "2" services: monit: image: "kijart/monit" + logging: + driver: json-file + options: + max-size: "10m" + max-file: "5" ports: - 2812:2812 volumes: