gitea: huge space usage workaround

This commit is contained in:
Michael Grote 2024-04-02 18:57:45 +02:00
parent dda0d457e1
commit ff790510d1

View file

@ -100,11 +100,17 @@ gitea_fail2ban_enabled: true
gitea_fail2ban_jail_maxretry: 3 gitea_fail2ban_jail_maxretry: 3
gitea_fail2ban_jail_findtime: 300 gitea_fail2ban_jail_findtime: 300
gitea_fail2ban_jail_bantime: 600 gitea_fail2ban_jail_bantime: 600
# wird für drone benötigt, sonst wird der Webhook nicht "gesendet" # webhook: wird für drone benötigt, sonst wird der Webhook nicht "gesendet"
# archive_cleanup: https://forum.gitea.com/t/how-to-configure-cron-task-for-delete-all-repositories-archives-zip-tar-gz-etc/4848/3
gitea_extra_config: | gitea_extra_config: |
[webhook] [webhook]
ALLOWED_HOST_LIST = *.mgrote.net ALLOWED_HOST_LIST = *.mgrote.net
[cron.archive_cleanup]
ENABLED = true
RUN_AT_START = true
SCHEDULE = @midnight
gitea_backup_on_upgrade: false gitea_backup_on_upgrade: false
gitea_backup_location: "{{ gitea_home }}/backups/" gitea_backup_location: "{{ gitea_home }}/backups/"