host/istal: add cpu quota for docker
This commit is contained in:
parent
0e7a405b61
commit
98efe1a2c9
1 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,9 @@ in
|
|||
age.secrets.forgejo-runner-token-codeberg-docker.file = ./forgejo-runner-token-codeberg-docker.age;
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
systemd.services.docker.serviceConfig = {
|
||||
CPUQuota = "50%"; # Ограничение для всего Docker демона?
|
||||
};
|
||||
|
||||
services.gitea-actions-runner = {
|
||||
package = pkgs.unstable.forgejo-runner;
|
||||
|
@ -45,4 +48,5 @@ in
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue