1

Add gitea runner service

This commit is contained in:
2023-11-08 23:40:29 +01:00
parent 4e28557396
commit ea6ec8269b
2 changed files with 36 additions and 0 deletions

View File

@ -14,6 +14,7 @@
# General
./services/authelia.nix
./services/gitea.nix
./services/gitea-runner.nix
./services/homepage.nix
./services/nginx-proxy-manager.nix
./services/pihole.nix
@ -23,6 +24,7 @@
./services/wireguard-vps.nix
# Multimedia
./services/fileflows.nix
./services/jellyfin.nix
./services/jellyseerr.nix
./services/jellystat.nix

View File

@ -0,0 +1,34 @@
{
config,
lib,
pkgs,
...
}: {
virtualisation.oci-containers.containers.gitea-runner = {
image = "gitea/act_runner:latest";
autoStart = true;
dependsOn = [
# "pihole"
];
ports = [];
volumes = [
"gitea-runner_data:/data"
"/var/run/docker.sock:/var/run/docker.sock"
];
environment = {
GITEA_INSTANCE_URL = "http://gitea:3000";
# NOTE: This token is invalid, when re-registering is needed it has to be refreshed
GITEA_RUNNER_REGISTRATION_TOKEN = "tsNZb2R8KrRdcN9imoo5EAF7PVc7gM0uYWd0Huuy";
};
extraOptions = [
"--network=behind-nginx"
];
};
}