Installing via compose.yaml

  1. Go to the dockers folder and create all folders needed for Docker:

    cd ~/dockers && mkdir -p jellyfin/{cache,config,fonts,movies,shows}
  2. 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'
  3. 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.

  4. 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

  1. Move 1 file (on your PC, not over SSH):

    scp /path/to/file.mp4 john@192.168.9.9:/srv/media/Movies/
  2. Move a whole folder (use -r for recursive):

    scp -r /path/to/folder john@192.168.9.9:/srv/media/Movies/
  3. 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):

  1. Open File Manager and go to Network.
  2. Add your Raspberry Pi address:
  3. sftp://pi@your.pi.ip
  4. Done — you’re now connected via Dolphin file manager.

Login for Jellyfin:

User:
change your username

Password:
change your password


References:

https://jellyfin.org/docs/general/post-install/networking/tailscale