From e344e7351ce54462f686461524a4a8eae7d6dd37 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 19 Nov 2024 02:33:42 +0000 Subject: [PATCH] set fixed container logging length --- docker-compose.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 20ddffd..5b193fc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,13 @@ services: anope: + ulimits: + nofile: + soft: "102400" + hard: "102400" + logging: + driver: "json-file" + options: + max-size: "64k" restart: always build: context: .