From 6303fb4c9f42f705cd87aaa433341365a8953a41 Mon Sep 17 00:00:00 2001 From: "Daniel J. Turner" Date: Thu, 22 Jan 2026 02:15:35 +1300 Subject: [PATCH] Initial commit. --- container-compose.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 container-compose.yml diff --git a/container-compose.yml b/container-compose.yml new file mode 100644 index 0000000..c0c76ea --- /dev/null +++ b/container-compose.yml @@ -0,0 +1,19 @@ +services: + jellyfin: + image: jellyfin/jellyfin + container_name: jellyfin + network_mode: 'host' + volumes: + - /etc/jellyfin:/config + - /var/lib/jellyfin/cache:/cache + - type: bind + source: /nfs/media + target: /media + read_only: true + restart: 'unless-stopped' + # Optional - alternative address used for autodiscovery + environment: + - JELLYFIN_PublishedServerUrl=http://jellyfin.p1.bitstorm.co.nz + # Optional - may be necessary for docker healthcheck to pass if running in host network mode + extra_hosts: + - 'host.docker.internal:host-gateway'