Fix cache for forgejo-runner
This commit is contained in:
parent
f0aa236312
commit
d35bf61e37
1 changed files with 4 additions and 2 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Reference in a new issue