Add jellyfin service
This commit is contained in:
parent
ceb58ff1b2
commit
ac45f86cb5
2 changed files with 49 additions and 0 deletions
|
|
@ -136,6 +136,33 @@ in
|
|||
autoStart = true;
|
||||
};
|
||||
|
||||
# Jellyfin media server (alternative to Plex)
|
||||
jellyfin = {
|
||||
image = "docker.io/linuxserver/jellyfin:latest";
|
||||
|
||||
volumes = [
|
||||
"/var/lib/containers/jellyfin/config:/config"
|
||||
"/mnt/storage/Media:/data"
|
||||
];
|
||||
|
||||
environment = {
|
||||
PUID = commonUID;
|
||||
PGID = commonGID;
|
||||
TZ = systemTZ;
|
||||
};
|
||||
|
||||
ports = [
|
||||
"5002:8096"
|
||||
];
|
||||
|
||||
extraOptions = [
|
||||
"--network=podman"
|
||||
"--device=/dev/dri:/dev/dri" # Hardware acceleration
|
||||
];
|
||||
|
||||
autoStart = true;
|
||||
};
|
||||
|
||||
# Sonarr TV show management
|
||||
sonarr = {
|
||||
image = "docker.io/linuxserver/sonarr:latest";
|
||||
|
|
|
|||
|
|
@ -123,6 +123,19 @@
|
|||
};
|
||||
};
|
||||
|
||||
# Jellyfin Media Server
|
||||
jellyfin = {
|
||||
rule = "Host(`jellyfin.yanlincs.com`)";
|
||||
entrypoints = "websecure";
|
||||
service = "jellyfin";
|
||||
tls = {
|
||||
certResolver = "cloudflare";
|
||||
domains = [{
|
||||
main = "*.yanlincs.com";
|
||||
}];
|
||||
};
|
||||
};
|
||||
|
||||
# Plex Media Server
|
||||
plex = {
|
||||
rule = "Host(`plex.yanlincs.com`)";
|
||||
|
|
@ -243,6 +256,15 @@
|
|||
};
|
||||
};
|
||||
|
||||
# Jellyfin backend (via WireGuard)
|
||||
jellyfin = {
|
||||
loadBalancer = {
|
||||
servers = [{
|
||||
url = "http://10.2.2.20:5002";
|
||||
}];
|
||||
};
|
||||
};
|
||||
|
||||
# Plex backend (via WireGuard)
|
||||
plex = {
|
||||
loadBalancer = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue