remove plex media server
This commit is contained in:
parent
802a859c78
commit
7a8839d17a
3 changed files with 1 additions and 64 deletions
|
|
@ -91,10 +91,6 @@
|
||||||
{
|
{
|
||||||
name = "Media";
|
name = "Media";
|
||||||
bookmarks = [
|
bookmarks = [
|
||||||
{
|
|
||||||
name = "Plex";
|
|
||||||
url = "https://plex.yanlincs.com";
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
name = "Jellyfin";
|
name = "Jellyfin";
|
||||||
url = "https://jellyfin.yanlincs.com";
|
url = "https://jellyfin.yanlincs.com";
|
||||||
|
|
|
||||||
|
|
@ -98,45 +98,7 @@ in
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Plex Media Server
|
# Jellyfin 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 = {
|
jellyfin = {
|
||||||
image = "docker.io/linuxserver/jellyfin:latest";
|
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
|
# qBittorrent torrent client
|
||||||
qbit = {
|
qbit = {
|
||||||
rule = "Host(`qbit.yanlincs.com`)";
|
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)
|
# qBittorrent backend (via WireGuard)
|
||||||
qbit = {
|
qbit = {
|
||||||
loadBalancer = {
|
loadBalancer = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue