Add sonarr, radarr, and torrent client

This commit is contained in:
2023-05-30 22:00:39 +01:00
parent afac3e5548
commit f61211f134

View File

@ -112,6 +112,50 @@ with lib.my;
];
dependsOn = [ "jellyfin" ];
};
qbittorrent = {
image = "lscr.io/linuxserver/qbittorrent:latest";
autoStart = true;
ports = [
"8080:8080/tcp"
"6881:6881/tcp"
"6881:6881/udp"
];
volumes = [
"qbittorrent-config:/config:Z"
"downloads:/downloads"
];
extraOptions = [
"--label=io.containers.autoupdate=registry"
];
};
radarr = {
image = "lscr.io/linuxserver/radarr:latest";
autoStart = true;
ports = [ "7878:7078/tcp" ];
volumes = [
"radarr-config:/config:Z"
"downloads:/downloads"
];
extraOptions = [
"--label=io.containers.autoupdate=registry"
"--mount=type=bind,source=/mnt/library/movies,target=/movies"
];
dependsOn = [ "qbittorrent" ];
};
sonarr = {
image = "lscr.io/linuxserver/sonarr:latest";
autoStart = true;
ports = [ "8989:8989/tcp" ];
volumes = [
"sonarr-config:/config:Z"
"downloads:/downloads"
];
extraOptions = [
"--label=io.containers.autoupdate=registry"
"--mount=type=bind,source=/mnt/library/tv,target=/tv"
];
dependsOn = [ "qbittorrent" ];
};
};
modules = {