Jellyfin - A gateway to all your media

jellyfin Apr 19, 2022

Do you have your movies, sitcoms stored in your hard drive/Bluray? You use some video player to see them? Or use some player to listen to music? Get jellyfin to expose your media with a beautiful UI as well as access anywhere you go.

Jellyfin is an Opensource software which can handle all your media requirements by exposing them securely, allowing you to access anywhere as well as features like metadata fetch, transcoding, user access.

Jellyfin is a good alternative to Plex, allows you to stream media just like Netflix party using its Syncplay option. So, are you ready to try jellyfin? Let's go! I would guide you here to run Jellyfin using docker. You can always add Traefik labels to secure it further via this reverse-proxy

----
version: "3"
services:
  jellyfin:
    image: lscr.io/linuxserver/jellyfin
    container_name: jellyfin
    ports:
      - 80:8096
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Asia/Kolkata
    volumes:
      - /path/to/config:/config
      - /path/to/tv/shows:/data/tvshows
      - /path/to/movies:/data/movies
      - /path/to/music:/data/music
    devices:
    ## Refer this: https://jellyfin.org/docs/general/administration/hardware-acceleration.html
      - /path/to/render/devices:/path/to/render/devices
    restart: always
    networks:
    ## Change proxy to the name of your docker network or you can remove this option to use the default bridge docker network
       - proxy
## Skip the below lines if you are using bridge network or replace with your network name 
networks:
  proxy:
    external: true
----
docker-compose.yml

I am using PUID and GUID of user 1000. You need to use the user who has access to the volumes attached. For fresh installation, you need to mount an empty directory for config and other mounts would be where your media would be located.

Also refer the link in docker-compose.yml file to enable hardware acceleration for all your video transcoding. Once you have your compose file ready, use docker-compose up -d command to run your container in background.

Now access Jellyfin using your host's IP and port. You need to configure admin user during initial setup. Go to Dashboard >> Check the status of Library Scan. It may take a while depending on your media size. Once done, only thing remaining is to Flex around your family/friends by showing off your private Netflix 😉


Tags