From b81c42034ba7aa19ff52ef5a11754ca3271d9292 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Fri, 25 Oct 2024 16:33:21 -0300 Subject: [PATCH] docker: fix logging for bitbucket runner --- system/containers.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/system/containers.nix b/system/containers.nix index 19698e5..37844f7 100644 --- a/system/containers.nix +++ b/system/containers.nix @@ -12,6 +12,14 @@ "--volumes" ]; }; + daemon.settings = { + # needed by bitbucket runner ??? + log-driver = "json-file"; + log-opts = { + max-size = "10m"; + max-file = "3"; + }; + }; }; programs.extra-container.enable = true;