2024-10-01 17:42:47 -04:00
|
|
|
{
|
|
|
|
virtualisation = {
|
|
|
|
containers.enable = true;
|
|
|
|
podman.enable = true;
|
|
|
|
oci-containers.containers = {
|
|
|
|
runner = {
|
2025-01-16 09:29:35 -05:00
|
|
|
image = "code.forgejo.org/forgejo/runner:6";
|
2024-10-01 17:42:47 -04:00
|
|
|
dependsOn = [ "docker_dind" ];
|
|
|
|
environment.DOCKER_HOST = "tcp://docker_dind:2375";
|
|
|
|
volumes = [ "forgejo-runner:/data" ];
|
|
|
|
cmd = [
|
|
|
|
"forgejo-runner"
|
|
|
|
"daemon"
|
|
|
|
];
|
|
|
|
extraOptions = [
|
|
|
|
"--pull=newer"
|
|
|
|
"--network=www"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|