Skip to main content

Installation

JellyfinThe service can be installed by followingthrough the Portainer guideweb forinterface. 

Learn about creating a new stack.

Learn about configuring a Docker stacks.  Depending on your graphics card, you will need to use the relevant

Docker Compose

code to enable hardware acceleration.

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