From ee8cccc755eb9209fbbc916133dd53bc24f5cde4 Mon Sep 17 00:00:00 2001 From: JamesFlare1212 Date: Mon, 6 Apr 2026 18:47:31 -0400 Subject: [PATCH] chore(docker): limit app container log size to 15MB with 3 file rotation --- docker-compose.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index 7c26038..459fe24 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -7,6 +7,11 @@ services: - "9091:9091" networks: - cca_network + logging: + driver: "json-file" + options: + max-size: "15m" + max-file: "3" app: build: @@ -57,6 +62,11 @@ services: interval: 10s timeout: 5s retries: 5 + logging: + driver: "json-file" + options: + max-size: "15m" + max-file: "3" networks: cca_network: