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

@ -91,10 +91,6 @@
{
name = "Media";
bookmarks = [
{
name = "Plex";
url = "https://plex.yanlincs.com";
}
{
name = "Jellyfin";
url = "https://jellyfin.yanlincs.com";

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";

View file

@ -54,18 +54,6 @@
};
};
# Plex Media Server
plex = {
rule = "Host(`plex.yanlincs.com`)";
service = "plex";
tls = {
certResolver = "cloudflare";
domains = [{
main = "*.yanlincs.com";
}];
};
};
# qBittorrent torrent client
qbit = {
rule = "Host(`qbit.yanlincs.com`)";
@ -142,15 +130,6 @@
};
};
# Plex backend (via WireGuard)
plex = {
loadBalancer = {
servers = [{
url = "http://10.2.2.20:5008";
}];
};
};
# qBittorrent backend (via WireGuard)
qbit = {
loadBalancer = {