Switch to lix and update the arr stack
This commit is contained in:
parent
e860e4a9bd
commit
34f11ee2fb
6 changed files with 249 additions and 148 deletions
|
|
@ -1,25 +1,66 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
{ config
|
||||
, pkgs
|
||||
, lib
|
||||
, ...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.my.services.download-pod;
|
||||
|
||||
containers = {
|
||||
webserver = {
|
||||
|
||||
jackett = {
|
||||
enable = true;
|
||||
image = "nginx";
|
||||
image = "linuxserver/jackett";
|
||||
autoStart = true;
|
||||
extraOptions = [ "--pod=download" ];
|
||||
volumes = [
|
||||
"aaa:/config"
|
||||
"bbb:/data"
|
||||
"jackett_config:/config"
|
||||
"jackett_data:/data"
|
||||
];
|
||||
};
|
||||
|
||||
postgres = {
|
||||
radarr = {
|
||||
enable = true;
|
||||
image = "linuxserver/radarr";
|
||||
autoStart = true;
|
||||
extraOptions = [ "--pod=download" ];
|
||||
volumes = [
|
||||
"radarr_config:/config"
|
||||
"radarr_data:/data"
|
||||
];
|
||||
};
|
||||
|
||||
sabnzbd = {
|
||||
enable = false;
|
||||
image = "postgres:13";
|
||||
image = "linuxserver/sabnzbd";
|
||||
autoStart = true;
|
||||
extraOptions = [ "--pod=download" ];
|
||||
volumes = [
|
||||
"sabnzbd_config:/config"
|
||||
"sabnzbd_data:/data"
|
||||
];
|
||||
};
|
||||
|
||||
sonarr = {
|
||||
enable = false;
|
||||
image = "linuxserver/sonarr";
|
||||
autoStart = true;
|
||||
extraOptions = [ "--pod=download" ];
|
||||
volumes = [
|
||||
"sonarr_config:/config"
|
||||
"sonarr_data:/data"
|
||||
];
|
||||
};
|
||||
|
||||
prowlarr = {
|
||||
enable = true;
|
||||
image = "linuxserver/prowlarr";
|
||||
autoStart = true;
|
||||
# extraOptions = [ "--pod=download" ];
|
||||
volumes = [ "prowlarr_config:/config" ];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -60,11 +101,14 @@ in
|
|||
config = lib.mkIf cfg.enable {
|
||||
|
||||
my.virtualisation.podmanPods = {
|
||||
mywebapp = {
|
||||
name = "mywebapp";
|
||||
download = {
|
||||
name = "download";
|
||||
ports = [
|
||||
"9090:80"
|
||||
"9443:443"
|
||||
"7878:7878" # : Radarr
|
||||
# "8080:8080" # : Sabnzbd
|
||||
"8989:8989" # : Sonarr
|
||||
"9117:9117" # : Jackett
|
||||
"9696:9696" # : Prowlarr
|
||||
];
|
||||
containers = enabledContainers containers;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue