Installation
The service can be installed through the Portainer web interface.
Learn about creating a new stack.
Docker Compose
Intel and AMD Graphics
Use the following code to install the service:
---
services:
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
network_mode: bridge
environment:
- PUID=1000
- PGID=1000
- TZ=America/Vancouver
volumes:
# Persistent Data
- /srv/jellyfin:/config
# Media Folders
- /mnt/movies:/mmt/movies
- /mnt/television:/mmt/television
- /mnt/music:/mmt/music
- /mnt/books:/mmt/books
devices:
- /dev/dri:/dev/dri
ports:
- 8096:8096
- 8920:8920
- 7359:7359/udp
- 1900:1900/udp
restart: unless-stopped
Nvidia Graphics
Use the following code to install the service:
---
services:
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
network_mode: bridge
runtime: nvidia
environment:
- PUID=1000
- PGID=1000
- TZ=America/Vancouver
- NVIDIA_VISIBLE_DEVICES=all
volumes:
# Persistent Data
- /srv/jellyfin:/config
# Media Folders
- /mnt/movies:/mmt/movies
- /mnt/television:/mmt/television
- /mnt/music:/mmt/music
- /mnt/books:/mmt/books
ports:
- 8096:8096
- 8920:8920
- 7359:7359/udp
- 1900:1900/udp
restart: unless-stopped