Installing via compose.yaml
-
Go to the dockers folder and create all folders needed for Docker:
cd ~/dockers && mkdir -p jellyfin/{cache,config,fonts,movies,shows}
-
Create your compose file:
nano compose.yaml
services: jellyfin: image: jellyfin/jellyfin container_name: jellyfin user: uid:gid ports: - 8096:8096/tcp - 7359:7359/udp volumes: - /path/to/config:/config - /path/to/cache:/cache - type: bind source: /path/to/media target: /media - type: bind source: /path/to/media2 target: /media2 read_only: true # Optional - extra fonts to be used during transcoding with subtitle burn-in - type: bind source: /path/to/fonts target: /usr/local/share/fonts/custom read_only: true restart: 'unless-stopped' # Optional - alternative address used for autodiscovery environment: - JELLYFIN_PublishedServerUrl=http://example.com # Optional - may be necessary for docker healthcheck to pass if running in host network mode extra_hosts: - 'host.docker.internal:host-gateway'
-
You need to change a few things like the path to media, fonts, etc. To check your current path, type:
pwd
Then type the folder name you want to use.
-
Also check your user ID and group ID for the
user: uid:gid
line:id
Most likely, the result will be
1000:1000
.
File Sharing
SCP
-
Move 1 file (on your PC, not over SSH):
scp /path/to/file.mp4 john@192.168.9.9:/srv/media/Movies/
-
Move a whole folder (use
-r
for recursive):scp -r /path/to/folder john@192.168.9.9:/srv/media/Movies/
-
Example with Ted (2012):
scp -r /home/username/Downloads/Done/ted-2012/Ted\ \(2012\).mp4 onetboy21@192.168.X.X:/srv/media/Movies
SFTP
If you’re using Dolphin (on Arch Linux, like me):
- Open File Manager and go to Network.
- Add your Raspberry Pi address:
- Done — you’re now connected via Dolphin file manager.
sftp://pi@your.pi.ip
Login for Jellyfin:
User:change your username
Password:change your password
References:
https://jellyfin.org/docs/general/post-install/networking/tailscale