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 =
|
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 = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue