Update containers to latest release

This commit is contained in:
♥ Minnie ♥ 2024-06-16 23:08:52 +08:00
parent 9f886e22d4
commit 5a16fd7360
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
10 changed files with 82 additions and 38 deletions

View file

@ -1,13 +1,15 @@
{ ... }:
let
port = "8096";
in
{
virtualisation.oci-containers.containers = {
# Volunteer-built media solution that puts you in control of your media
jellyfin = {
autoStart = true;
image = "jellyfin/jellyfin:10.8.12";
image = "jellyfin/jellyfin:10.9.6";
ports = [
"8096:8096/tcp" # HTTP traffic
"${port}:8096/tcp" # HTTP traffic
"8920:8920/tcp" # HTTPS traffic
# "1900:1900/udp" # Service auto-discovery
"7359:7359/udp" # Client auto-discovery
@ -24,6 +26,7 @@
"--device=/dev/dri/renderD128:/dev/dri/renderD128"
"--network=media-stack"
];
user = "1000:100";
};
};
@ -42,7 +45,7 @@
services.traefik.dynamicConfigOptions.http.services = {
jellyfin.loadBalancer.servers = [
{ url = "http://127.0.0.1:8096"; }
{ url = "http://127.0.0.1:${port}"; }
];
};
}