kommode/gitea: bindmount repo-archives to /var/cache/gitea

This commit is contained in:
h7x4 2025-09-03 23:23:16 +02:00
parent 54434b7f93
commit 1dc78b6101
No known key found for this signature in database
GPG Key ID: 9F2F7D8250F35146

View File

@ -161,6 +161,11 @@ in {
systemd.services.gitea.serviceConfig.CPUSchedulingPolicy = "batch";
systemd.services.gitea.serviceConfig.CacheDirectory = "gitea/repo-archive";
systemd.services.gitea.serviceConfig.BindPaths = [
"%C/gitea/repo-archive:${cfg.stateDir}/data/repo-archive"
];
services.nginx.virtualHosts."${domain}" = {
forceSSL = true;
enableACME = true;