2025-01-19, 01:00 AM
(This post was last modified: 2025-01-19, 01:09 AM by theguymadmax. Edited 1 time in total.)
The first thing you should do is mount your external hard drive using fstab: https://forum.jellyfin.org/t-mounting-lo...ons-primer
For Docker I have my folders setup like this:
/home/max/Dockers/Jellyfin/Config
/home/max/Dockers/Jellyfin/Cache
I have my exteranl drive mounted here
/media/Media1
/media/Media2
Here is my docker compose
For Docker I have my folders setup like this:
/home/max/Dockers/Jellyfin/Config
/home/max/Dockers/Jellyfin/Cache
I have my exteranl drive mounted here
/media/Media1
/media/Media2
Here is my docker compose
Code:
services:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: jellyfin
user: 1000:1000
group_add:
- "992" #render
network_mode: 'host'
volumes:
- /home/max/Dockers/Jellyfin/Config:/config
- /home/max/Dockers/Jellyfin/Cache:/cache
- /media/Media1:/Movies
- /media/Media2:/Shows
restart: 'unless-stopped'
devices:
- /dev/dri/renderD128:/dev/dri/renderD128