2023-05-16 14:08:07 +08:00
|
|
|
{ ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
# Sonarr
|
|
|
|
virtualisation.oci-containers.containers."sonarr" = {
|
|
|
|
autoStart = true;
|
2023-05-21 17:41:24 +08:00
|
|
|
image = "cr.hotio.dev/hotio/sonarr:v4";
|
2023-05-16 14:08:07 +08:00
|
|
|
volumes = [
|
2023-05-17 18:23:19 +08:00
|
|
|
"/srv/containers/sonarr:/config"
|
2023-05-21 17:41:24 +08:00
|
|
|
"/srv/data:/data"
|
2023-05-16 14:08:07 +08:00
|
|
|
];
|
|
|
|
ports = [ "8989:8989" ];
|
2023-06-12 21:47:20 +08:00
|
|
|
extraOptions = [ "--pull=newer" ];
|
2023-05-16 14:08:07 +08:00
|
|
|
};
|
|
|
|
}
|