remove plex media server
This commit is contained in:
parent
802a859c78
commit
7a8839d17a
3 changed files with 1 additions and 64 deletions
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue