• You can support more guides like this Click to Donate
  • Version
  • Create Date June 11, 2024
  • Last Updated June 12, 2024
  • Installation Support Ask Support
  • Number of views

The Free Software Media System


In this step by step guide, i will show how to install Jellyfin using Portainer and Docker.

If you already have docker and portainer installed and you know your user id and group id, skip to Step 5

Follow this guide to install docker: How to install docker

Follow this guide to install portainer: How to install portainer

Follow this guide to connect to your NAS terminal to find your username ID and group ID: How to connect to NAS via terminal using putty

Find your current time zone on this website, as example for Brussels is:


Open Portainer by typing in your web browser http://yournasip:19000

After you login on Portainer, go to Home, then click on your Local Environment

Go to Stacks and click on Add stack

On the name type jellyfin, select Web editor and paste the code below.

Make sure you replace the PUID and GUID with the values for your user found on Step 3.

Use bind option to mount local volumes inside the container. You can add as many sources as you want.

restart: you can choose from alwaysunless-stopped, or on-failure[:number of retries]

version: "3.9"
    image: jellyfin/jellyfin
    container_name: jellyfin 
    network_mode: 'host'
      - PUID=1000
      - PGID=10
      - TZ=Europe/Brussels    
      - /volume1/DockerData/jellyfin/config:/config
      - /volume1/DockerData/jellyfin/cache:/cache
      - type: bind
        source: /volume1/Movies
        target: /Movies
        read_only: true
      - type: bind
        source: /volume1/Shows
        target: /Shows
        read_only: true
     - /dev/dri:/dev/dri
    restart: unless-stopped

Scroll down and click on Deploy the stack.

If everything goes well, you will get a message that the stack was successfully deployed.

You will see now the container running

When is running, go to your web browser, type http://yournasip:8096 and finish the Jellyfin setup.

When the setup of your library is finished, to enable hardware transcoding, follow the steps below:

Go to Menu


Playback > Transcoding. Select Intel QuickSync and enable as below

Scroll down on the page and click on Save and Got It.

User Reviews
You are not allowed to post review.
Posted in .