Skip to content

Latest commit

 

History

History

jellyfin

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Jellyfin

Jellyfin is a Home Media system.

For my own purposes, I've split up media types to use both Plex and Jellyfin to better share media with my family members. Feel free to use one or the other if you don't need to split them!

Docker Image is from Linuxserver, found here.

Setup

  1. Create an .env file with:
JELLYFIN_DOMAIN=<jellyfin domain>
DATA_DIRECTORY=<your_directory>
  1. Configure the media directories to mount so that the container has access to it. By default, Jellyfin will mount $DATA_DIRECTORY/Media/movies to /data/movies to the container. This behaviour can be configured with the following in docker-compose.yml.
    - ${DATA_DIRECTORY}/Media/config/jellyfin:/config
    - ${DATA_DIRECTORY}/Media/movies:/data/movies
  1. Run it!
docker compose up -d

Updates

This container will have its image automatically updated via watchtower.

Backups

There's not much to backup for Jellyfin, since the data that will be backed up will be the actual media to be shared.

If you so wish, config can be backed up and preserved; its stored locally at ${DATA_DIRECTORY}/Media/config/jellyfin, and can be backed up via cronjob with the following:

0 0 * * 1 sudo tar -cf $DATA_DIRECTORY/Backups/jellyfin/`date+%F`.tar $DATA_DIRECTORY/Config/jellyfin