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.
- Create an
.env
file with:
JELLYFIN_DOMAIN=<jellyfin domain>
DATA_DIRECTORY=<your_directory>
- 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 indocker-compose.yml
.
- ${DATA_DIRECTORY}/Media/config/jellyfin:/config
- ${DATA_DIRECTORY}/Media/movies:/data/movies
- Run it!
docker compose up -d
This container will have its image automatically updated via watchtower.
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