mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-01-18 21:29:33 +01:00
added second sonarr instance
This commit is contained in:
parent
8b08515746
commit
f0e8e2941b
|
@ -5,5 +5,6 @@
|
|||
./crafty-controller.nix
|
||||
./flaresolverr.nix
|
||||
./freshrss.nix
|
||||
./sonarr.nix
|
||||
];
|
||||
}
|
||||
|
|
18
features/containers/sonarr.nix
Normal file
18
features/containers/sonarr.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
virtualisation.oci-containers = {
|
||||
backend = "docker";
|
||||
containers = {
|
||||
freshrss = {
|
||||
image = "lscr.io/linuxserver/sonarr:latest";
|
||||
volumes = [ "sonarr_data:/config" "/srv/Multimedia/SeriesTV:/tv" "/srv/Multimedia/Torrents:/downloads" ];
|
||||
ports = [ "8888:80" ];
|
||||
environment = {
|
||||
"PUID" = "1000";
|
||||
"GUID" = "1000";
|
||||
"TZ" = "Europe/Paris";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue