From ab9725452a18c42467964b4862d1d5ee4bc1c7bc Mon Sep 17 00:00:00 2001 From: caretaker Date: Wed, 22 Apr 2026 21:49:20 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20docker-compose.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 5462f5c..856ac82 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -26,4 +26,33 @@ services: - 8080:8080 - 6881:6881 - 6881:6881/udp - restart: unless-stopped \ No newline at end of file + restart: unless-stopped + jellyfin: + image: jellyfin/jellyfin + container_name: jellyfin + # Optional - specify the uid and gid you would like Jellyfin to use instead of root + user: uid:gid + ports: + - 8096:8096/tcp + - 7359:7359/udp + volumes: + - /mnt/hdd/jellyfin/config:/config + - /mnt/hdd/jellyfincache:/cache + - type: bind + source: /mnt/hdd/jellyfin/media + target: /media + - type: bind + source: /mnt/hdd/jellyfin/media2 + target: /media2 + read_only: true + # Optional - extra fonts to be used during transcoding with subtitle burn-in + - type: bind + source: /mnt/hdd/jellyfin/fonts + target: /usr/local/share/fonts/custom + read_only: true + restart: 'unless-stopped' + environment: + - JELLYFIN_PublishedServerUrl=http://trp.lan/ + # 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