Add prowlarr and lidarr

This commit is contained in:
2023-06-10 18:48:30 +01:00
parent 95e4063403
commit c0b01fb664

View File

@ -110,6 +110,22 @@ with lib.my;
"--device=/dev/dri:/dev/dri" "--device=/dev/dri:/dev/dri"
]; ];
}; };
lidarr = {
image = "lscr.io/linuxserver/lidarr:latest";
autoStart = true;
ports = [ "8686:8686/tcp" ];
environment = {
PUID = 0;
GUID = 0;
};
volumes = [
"lidarr-config:/config:Z"
"downloads:/downloads"
];
extraOptions = [
"--label=io.containers.autoupdate=registry"
];
};
ombi = { ombi = {
image = "lscr.io/linuxserver/ombi:latest"; image = "lscr.io/linuxserver/ombi:latest";
autoStart = true; autoStart = true;
@ -125,6 +141,17 @@ with lib.my;
]; ];
dependsOn = [ "jellyfin" ]; dependsOn = [ "jellyfin" ];
}; };
prowlarr = {
image = "lscr.io/linuxserver/prowlarr:latest";
autoStart = true;
ports = [ "9696:9696/tcp" ];
volumes = [
"prowlarr-config:/config:Z"
];
extraOptions = [
"--label=io.containers.autoupdate=registry"
];
};
qbittorrent = { qbittorrent = {
image = "lscr.io/linuxserver/qbittorrent:latest"; image = "lscr.io/linuxserver/qbittorrent:latest";
autoStart = true; autoStart = true;
@ -145,33 +172,43 @@ with lib.my;
image = "lscr.io/linuxserver/radarr:latest"; image = "lscr.io/linuxserver/radarr:latest";
autoStart = true; autoStart = true;
ports = [ "7878:7878/tcp" ]; ports = [ "7878:7878/tcp" ];
environment = {
PUID = 0;
GUID = 0;
};
volumes = [ volumes = [
"radarr-config:/config:Z" "radarr-config:/config:Z"
"downloads:/downloads" "downloads:/downloads"
]; ];
extraOptions = [ extraOptions = [
"-e PUID=0"
"-e GUID=0"
"--label=io.containers.autoupdate=registry" "--label=io.containers.autoupdate=registry"
"--mount=type=bind,source=/mnt/library/movies,target=/movies" "--mount=type=bind,source=/mnt/library/movies,target=/movies"
]; ];
dependsOn = [ "qbittorrent" ]; dependsOn = [
"prowlarr"
"qbittorrent"
];
}; };
sonarr = { sonarr = {
image = "lscr.io/linuxserver/sonarr:latest"; image = "lscr.io/linuxserver/sonarr:latest";
autoStart = true; autoStart = true;
ports = [ "8989:8989/tcp" ]; ports = [ "8989:8989/tcp" ];
environment = {
PUID = 0;
GUID = 0;
};
volumes = [ volumes = [
"sonarr-config:/config:Z" "sonarr-config:/config:Z"
"downloads:/downloads" "downloads:/downloads"
]; ];
extraOptions = [ extraOptions = [
"-e PUID=0"
"-e GUID=0"
"--label=io.containers.autoupdate=registry" "--label=io.containers.autoupdate=registry"
"--mount=type=bind,source=/mnt/library/tv,target=/tv" "--mount=type=bind,source=/mnt/library/tv,target=/tv"
]; ];
dependsOn = [ "qbittorrent" ]; dependsOn = [
"prowlarr"
"qbittorrent"
];
}; };
}; };