Skip to content

Jellyfin

Jellyfin is a Free Software Media System that puts you in control of managing and streaming your media. It is an alternative to the proprietary Emby and Plex, to provide media from a dedicated server to end-user devices via multiple apps.

References


Make directory

Terminal window
mkdir -p {{{DOCKER_PATH_VAR}}}/jellyfin && cd {{{DOCKER_PATH_VAR}}}/jellyfin

docker-compose.yml

Terminal window
nano docker-compose.yml
docker-compose.yml
services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
user: uid:gid
network_mode: host
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- ./config:/config
- ./cache:/cache
- type: bind
source: /path/to/media
target: /media
- type: bind
source: /path/to/media2
target: /media2
read_only: true
# optional - extra fonts to be used during transcoding with subtitle burn-in
# - type: bind
# source: /path/to/fonts
# target: /usr/local/share/fonts/custom
# read_only: true
environment:
# optional
# - JELLYFIN_PublishedServerUrl=http://example.com
restart: unless-stopped

Start container

Terminal window
docker compose up -d

Open web ui

http://localhost:8096 or http://{{{IP_ADDRESS_VAR}}}:8096