Skip to content

daemonless/jellyfin

Repository files navigation

Jellyfin

The Free Software Media System on FreeBSD.

Port 8096
Registry ghcr.io/daemonless/jellyfin
Docs daemonless.io/images/jellyfin
Source https://github.com/jellyfin/jellyfin
Website https://jellyfin.org/

Deployment

Podman Compose

services:
  jellyfin:
    image: ghcr.io/daemonless/jellyfin:latest
    container_name: jellyfin
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=UTC
    volumes:
      - /path/to/containers/jellyfin:/config
      - /path/to/containers/jellyfin/cache:/cache # optional
      - /path/to/tv:/tv # optional
      - /path/to/movies:/movies # optional
    ports:
      - 8096:8096
    annotations:
      org.freebsd.jail.allow.mlock: "true"
    restart: unless-stopped

Podman CLI

podman run -d --name jellyfin \
  -p 8096:8096 \
  --annotation 'org.freebsd.jail.allow.mlock=true' \
  -e PUID=@PUID@ \
  -e PGID=@PGID@ \
  -e TZ=@TZ@ \
  -v /path/to/containers/jellyfin:/config \
  -v /path/to/containers/jellyfin/cache:/cache \ # optional
  -v /path/to/tv:/tv \ # optional
  -v /path/to/movies:/movies \ # optional
  ghcr.io/daemonless/jellyfin:latest

Access at: http://localhost:8096

Ansible

- name: Deploy jellyfin
  containers.podman.podman_container:
    name: jellyfin
    image: ghcr.io/daemonless/jellyfin:latest
    state: started
    restart_policy: always
    env:
      PUID: "@PUID@"
      PGID: "@PGID@"
      TZ: "@TZ@"
    ports:
      - "8096:8096"
    volumes:
      - "/path/to/containers/jellyfin:/config"
      - "/path/to/containers/jellyfin/cache:/cache" # optional
      - "/path/to/tv:/tv" # optional
      - "/path/to/movies:/movies" # optional
    annotation:
      org.freebsd.jail.allow.mlock: "true"

Configuration

Environment Variables

Variable Default Description
PUID 1000 User ID for the application process
PGID 1000 Group ID for the application process
TZ UTC Timezone for the container

Volumes

Path Description
/config Configuration directory
/cache Cache directory (Optional)
/tv TV Series library (Optional)
/movies Movie library (Optional)

Ports

Port Protocol Description
8096 TCP Web UI

Notes

  • Architectures: amd64
  • User: bsd (UID/GID set via PUID/PGID)
  • Base: Built on ghcr.io/daemonless/base (FreeBSD)
  • .NET App: Requires --annotation 'org.freebsd.jail.allow.mlock=true' and a patched ocijail.

Packages

 
 
 

Contributors

Languages