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