Add prowlarr service
This commit is contained in:
28
ServeNix/services/prowlarr.nix
Normal file
28
ServeNix/services/prowlarr.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{config, lib, pkgs, ...}:
|
||||||
|
|
||||||
|
{
|
||||||
|
virtualisation.oci-containers.containers.prowlarr = {
|
||||||
|
image = "linuxserver/prowlarr:latest";
|
||||||
|
autoStart = true;
|
||||||
|
|
||||||
|
dependsOn = [];
|
||||||
|
|
||||||
|
ports = [
|
||||||
|
"9696:9696"
|
||||||
|
];
|
||||||
|
|
||||||
|
volumes = [
|
||||||
|
"prowlarr_config:/config"
|
||||||
|
];
|
||||||
|
|
||||||
|
environment = {
|
||||||
|
PUID = "1000";
|
||||||
|
PGID = "1000";
|
||||||
|
TZ = "Europe/Berlin";
|
||||||
|
};
|
||||||
|
|
||||||
|
extraOptions = [
|
||||||
|
# "--restart=always" # Conflicts with NixOS' default of using --rm
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user