From 2d7784bcbdc29d318122cff1fbb432acccaeab82 Mon Sep 17 00:00:00 2001 From: thethreemagi Date: Tue, 1 Sep 2026 13:37:15 -0400 Subject: [PATCH] compose: cap container logs at 5x10MB Bot traffic writes to this log nightly and it had no rotation configured. --- docker-compose.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 129ae19..59c2473 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,6 +18,11 @@ services: context: ./app container_name: scout-website restart: unless-stopped + logging: + driver: json-file + options: + max-size: "10m" + max-file: "5" ports: # localhost only: NPM reaches this as scout-website:8000 over the docker # network, so publishing on 0.0.0.0 only bought a LAN path around the proxy.