build sonarr
This commit is contained in:
parent
73572a3fc6
commit
8e6aba1b6b
2 changed files with 18 additions and 6 deletions
|
@ -30,10 +30,7 @@
|
|||
swag_url = "calibre-web.icanttype.org";
|
||||
swag_port = "8083";
|
||||
};
|
||||
extraOptions = [
|
||||
"--pull=newer"
|
||||
"--network=www"
|
||||
];
|
||||
extraOptions = [ "--network=www" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,16 +1,31 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
virtualisation = {
|
||||
containers.enable = true;
|
||||
podman.enable = true;
|
||||
oci-containers.containers = {
|
||||
sonarr = {
|
||||
image = "lscr.io/linuxserver/sonarr:latest";
|
||||
image = "my-sonarr:latest";
|
||||
imageFile = pkgs.dockerTools.buildImage {
|
||||
name = "my-sonarr";
|
||||
tag = "latest";
|
||||
contents = [ pkgs.busybox ];
|
||||
config.Cmd = [
|
||||
"${pkgs.sonarr}/bin/NzbDrone"
|
||||
"-nobrowser"
|
||||
"-data=/config"
|
||||
];
|
||||
};
|
||||
volumes = [
|
||||
"sonarr-config:/config"
|
||||
"/video-data:/data"
|
||||
];
|
||||
environment.TZ = "America/New_York";
|
||||
labels.swag = "enable";
|
||||
labels = {
|
||||
swag = "enable";
|
||||
swag_url = "sonarr.icanttype.org";
|
||||
swag_port = "8989";
|
||||
};
|
||||
extraOptions = [
|
||||
"--pull=newer"
|
||||
"--network=www"
|
||||
|
|
Loading…
Reference in a new issue