Jellyfin Docker#
The Free Software Media System
Demo#
Docker#
mkdir -p $PWD/jellyfin/{config,cache}
docker run --name jellyfin -d -p 8096:8096 -v $PWD/jellyfin/config:/config -v $PWD/jellyfin/cache:/cache -v /media:/media jellyfin/jellyfin
Docker Compose#
version: "3.5"
services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
user: uid:gid
network_mode: "host"
volumes:
- /path/to/config:/config
- /path/to/cache:/cache
- /path/to/media:/media
- /path/to/media2:/media2:ro
restart: "unless-stopped"
# Optional - alternative address used for autodiscovery
environment:
- JELLYFIN_PublishedServerUrl=http://example.com