From 75005d79039bcb87c93db06e6cb059cb38a9a393 Mon Sep 17 00:00:00 2001 From: "stephane.david" Date: Fri, 30 May 2025 17:54:24 +0200 Subject: [PATCH] First version --- docker-compose.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..4f717cb --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,21 @@ +services: + jellyfin: + image: jellyfin/jellyfin + container_name: jellyfin + user: 1000:1000 + network_mode: 'host' + volumes: + - /var/lib/docker/volumes/jellyfin/config:/config + - /var/lib/docker/volumes/jellyfin/cache:/cache + - type: bind + source: /network/downloads + target: /media + read_only: true + # Optional - extra fonts to be used during transcoding with subtitle burn-in + restart: 'unless-stopped' + # Optional - alternative address used for autodiscovery + environment: + - JELLYFIN_PublishedServerUrl=http://jellyfin.maison + # Optional - may be necessary for docker healthcheck to pass if running in host network mode + extra_hosts: + - 'host.docker.internal:host-gateway' \ No newline at end of file