Files
chef/site-cookbooks/kosmos_gitea
greg 051c497054 Rate limit requests from bots on Gitea
For now this is 240 r/m (4r/s), for Claude, Sogou and Meta user agents.
The values are pretty conservative, I initially had tighter limits.
Let's see how it goes, this is running on Fornax and Draco and right now
we're not hitting the limits.
2026-08-01 16:33:35 +02:00
..
2020-05-18 19:39:43 +02:00
2020-05-18 19:39:43 +02:00
2020-05-18 19:39:43 +02:00
2020-05-18 19:39:43 +02:00
2020-05-26 15:21:07 +02:00

kosmos_gitea

Recipes

default

Deploys the gitea binary, generates a config file and our custom Kosmos label set. The service runs as a Systemd unit.

backup

Back up the /var/lib/gitea directory using the backup tool and our backup cookbook

pg_db

Should be executed on the primary PostgreSQL server (postgresql_primary role) to create the user, database and access rules