remove plex media server

This commit is contained in:
Yan Lin 2025-11-22 00:26:40 +01:00
parent 802a859c78
commit 7a8839d17a
3 changed files with 1 additions and 64 deletions

View file

@ -98,45 +98,7 @@ in
autoStart = true;
};
# Plex Media Server
plex = {
image = "docker.io/linuxserver/plex:latest";
volumes = [
"/var/lib/containers/config/plex:/config"
"/mnt/storage/Media:/data"
];
labels = {
"traefik.enable" = "true";
"traefik.http.routers.plex.rule" = "Host(`plex.${config.networking.hostName}.yanlincs.com`)";
"traefik.http.routers.plex.entrypoints" = "websecure";
"traefik.http.routers.plex.tls" = "true";
"traefik.http.routers.plex.tls.certresolver" = "cloudflare";
"traefik.http.routers.plex.tls.domains[0].main" = "*.${config.networking.hostName}.yanlincs.com";
"traefik.http.services.plex.loadbalancer.server.port" = "32400";
};
environment = {
PUID = commonUID;
PGID = commonGID;
TZ = systemTZ;
VERSION = "docker";
};
ports = [
"5008:32400"
];
extraOptions = [
"--network=podman"
"--device=/dev/dri:/dev/dri" # Hardware acceleration
];
autoStart = true;
};
# Jellyfin media server (alternative to Plex)
# Jellyfin media server
jellyfin = {
image = "docker.io/linuxserver/jellyfin:latest";