Add gitea runner service
This commit is contained in:
@ -14,6 +14,7 @@
|
|||||||
# General
|
# General
|
||||||
./services/authelia.nix
|
./services/authelia.nix
|
||||||
./services/gitea.nix
|
./services/gitea.nix
|
||||||
|
./services/gitea-runner.nix
|
||||||
./services/homepage.nix
|
./services/homepage.nix
|
||||||
./services/nginx-proxy-manager.nix
|
./services/nginx-proxy-manager.nix
|
||||||
./services/pihole.nix
|
./services/pihole.nix
|
||||||
@ -23,6 +24,7 @@
|
|||||||
./services/wireguard-vps.nix
|
./services/wireguard-vps.nix
|
||||||
|
|
||||||
# Multimedia
|
# Multimedia
|
||||||
|
./services/fileflows.nix
|
||||||
./services/jellyfin.nix
|
./services/jellyfin.nix
|
||||||
./services/jellyseerr.nix
|
./services/jellyseerr.nix
|
||||||
./services/jellystat.nix
|
./services/jellystat.nix
|
||||||
|
|||||||
34
ServeNix/services/gitea-runner.nix
Normal file
34
ServeNix/services/gitea-runner.nix
Normal 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"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user