Services/Pulse: Add servenix agent
This commit is contained in:
@ -35,6 +35,7 @@
|
|||||||
../services/paperless.nix
|
../services/paperless.nix
|
||||||
# ../services/plex.nix # Their monetization strategy is absolutely atrocious
|
# ../services/plex.nix # Their monetization strategy is absolutely atrocious
|
||||||
../services/portainer-agent.nix
|
../services/portainer-agent.nix
|
||||||
|
../services/pulse-agent-servenix.nix
|
||||||
../services/prowlarr.nix
|
../services/prowlarr.nix
|
||||||
../services/radarr.nix
|
../services/radarr.nix
|
||||||
../services/sabnzbd-movies.nix
|
../services/sabnzbd-movies.nix
|
||||||
|
|||||||
40
system/services/pulse-agent-servenix.nix
Normal file
40
system/services/pulse-agent-servenix.nix
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
pulseAgentServenixVersion = "4.35.0";
|
||||||
|
in {
|
||||||
|
virtualisation.oci-containers.containers = {
|
||||||
|
pulse-agent-servenix = {
|
||||||
|
image = "ghcr.io/rcourtman/pulse-docker-agent:${pulseAgentServenixVersion}";
|
||||||
|
autoStart = true;
|
||||||
|
|
||||||
|
dependsOn = [];
|
||||||
|
|
||||||
|
ports = [];
|
||||||
|
|
||||||
|
volumes = [
|
||||||
|
"/var/run/docker.sock:/var/run/docker.sock"
|
||||||
|
];
|
||||||
|
|
||||||
|
environment = {
|
||||||
|
PUID = "1000";
|
||||||
|
PGID = "1000";
|
||||||
|
TZ = "Europe/Berlin";
|
||||||
|
|
||||||
|
PULSE_URL = "https://pulse.think.chriphost.de";
|
||||||
|
PULSE_TOKEN = "6a72f3951990d6724f09106d052302f6f60fc9e94f71720bf8e8a1fe4a27d4a2";
|
||||||
|
};
|
||||||
|
|
||||||
|
extraOptions = [
|
||||||
|
# "--privileged"
|
||||||
|
# "--device=nvidia.com/gpu=all"
|
||||||
|
"--net=behind-nginx"
|
||||||
|
"--pid=host"
|
||||||
|
"--uts=host"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user