jellyfin docker
version: '3.8'
services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
user: "1000:1000" # Ganti jika user kamu pakai UID/GID lain
network_mode: 'host'
volumes:
- /mnt/Data/Docker/Jellyfin/config:/config
- /mnt/Data/Docker/Jellyfin/cache:/cache
- type: bind
source: /mnt/Data/Media
target: /media
- type: bind
source: /mnt/Data/Readonly-Media
target: /media2
read_only: true
- type: bind
source: /usr/share/fonts/truetype
target: /usr/local/share/fonts/custom
read_only: true
restart: unless-stopped
environment:
- JELLYFIN_PublishedServerUrl=http://192.168.1.10:8096 # Ganti dengan IP server kamu
extra_hosts:
- 'host.docker.internal:host-gateway'