From cf765eedb514bbc2a85f22494fbe2918d00def8a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <remi@le-filament.com>
Date: Wed, 29 Jan 2025 12:32:33 +0100
Subject: [PATCH] [IMP] keep only 14 last logs

---
 templates/gitlab.rb.j2 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/templates/gitlab.rb.j2 b/templates/gitlab.rb.j2
index edd6672..7b99bc7 100644
--- a/templates/gitlab.rb.j2
+++ b/templates/gitlab.rb.j2
@@ -57,6 +57,9 @@ gitlab_rails['omniauth_providers'] = [
 ]
 
 {% endif %}
+### Logrotate
+logging['logrotate_rotate'] = 14 # keep 14 rotated logs
+
 ### Container Registry settings
 registry_external_url 'https://{{ git_url }}:5050'
 
-- 
GitLab