Compare commits

...

3 commits

Author SHA1 Message Date
67da2f2483
host/istal: decrease timeout for the forgejo-runner 2024-08-07 19:14:05 +03:00
1296267c18
host/istal: change config of forgejo runner
add NODE_OPTIONS env with --max_old_space_size=4096
use default labels
2024-08-07 19:11:24 +03:00
86dd8bec5e
host/istal: add swapfile 2024-08-07 19:10:30 +03:00
2 changed files with 17 additions and 1 deletions

View file

@ -5,4 +5,11 @@
./generated.nix
./networking.secret.nix
];
swapDevices = [
{
device = "/var/lib/swapfile";
size = 2 * 1024;
}
];
}

View file

@ -13,8 +13,17 @@
enable = true;
name = "istal-docker";
url = "https://git.pleshevski.ru";
labels = [ "ubuntu-22.04:docker://node:22-bullseye" ];
labels = [];
tokenFile = config.age.secrets.forgejo-runner-docker-token.path;
settings = {
runner = {
envs = {
NODE_OPTIONS="--max_old_space_size=4096";
};
timeout = "1h";
};
};
};
};
};