Dockerize plex
This commit is contained in:
parent
9710224e7f
commit
2d9cea2952
|
@ -63,9 +63,36 @@
|
||||||
};
|
};
|
||||||
# Newer kernel
|
# Newer kernel
|
||||||
boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_2;
|
boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_2;
|
||||||
# Configure plex
|
# Run plex and the like in containers
|
||||||
# Configure tatulli
|
virtualisation.oci-containers.containers = {
|
||||||
# Configure sabnzbd
|
# Configure plex
|
||||||
# Configure sonarr
|
"plex" = {
|
||||||
# Configure radarr
|
image = "lscr.io/linuxserver/plex:latest";
|
||||||
|
environment = {
|
||||||
|
PUID = 1000;
|
||||||
|
PGID = 1000;
|
||||||
|
TZ = "America/New_York";
|
||||||
|
VERSION = "latest";
|
||||||
|
PLEX_CLAIM = "claim-1VxZPrsgYWGPxeiKvuMe";
|
||||||
|
};
|
||||||
|
ports = [
|
||||||
|
"32400:32400"
|
||||||
|
"1900:1900"
|
||||||
|
"3005:3005"
|
||||||
|
"5353:5353"
|
||||||
|
"8324:8324"
|
||||||
|
"32410:32410"
|
||||||
|
"32412:32412"
|
||||||
|
"32413:32413"
|
||||||
|
"32414:32414"
|
||||||
|
"32469:32469"
|
||||||
|
];
|
||||||
|
volumes = [ "/var/lib/plex:/config" "/mnt/plex:/media" ];
|
||||||
|
extraOptions = [ "--device=/dev/dri:/dev/dri" ];
|
||||||
|
};
|
||||||
|
# Configure tatulli
|
||||||
|
# Configure sabnzbd
|
||||||
|
# Configure sonarr
|
||||||
|
# Configure radarr
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue