Fix cache for forgejo-runner

This commit is contained in:
kalle 2025-04-14 01:30:07 +02:00
parent f0aa236312
commit d35bf61e37

View file

@ -22,10 +22,11 @@
config =
let
cfg = config.forgejo-runner;
cachePort = 39175;
in
{
networking.firewall.allowedTCPPorts = [
39175 # Cache port
cachePort
];
sops.secrets = {
@ -68,7 +69,8 @@
cache = {
enabled = true;
host = host.ip;
port = 39175;
port = cachePort;
actions_cache_url_override = "http://${host.ip}:${toString cachePort}";
};
container = {