Skip to content

daemonless/plex

Repository files navigation

Plex Media Server

Build Status Last Commit

Personal media server that organizes and streams your movie, TV, and music collections to all your devices.

Port 32400
Registry ghcr.io/daemonless/plex
Source https://github.com/daemonless/plex
Website https://plex.tv/

Version Tags

Tag Description Best For
latest Upstream Binary. Built from official release. Most users. Matches Linux Docker behavior.

Prerequisites

Before deploying, ensure your host environment is ready. See the Quick Start Guide for host setup instructions.

Deployment

Podman Compose

services:
  plex:
    image: ghcr.io/daemonless/plex:latest
    container_name: plex
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=UTC
      - VERSION=container
      - PLEX_CLAIM=
    volumes:
      - "/path/to/containers/plex:/config"
      - "/path/to/containers/plex/transcode:/transcode" # optional
      - "/path/to/movies:/movies"
      - "/path/to/tv:/tv"
    ports:
      - 32400:32400
      - 1900:1900
      - 32410:32410
      - 32412:32412
      - 32413:32413
      - 32414:32414
      - 32469:32469
      - 8324:8324
    restart: unless-stopped

AppJail Director

.env:

DIRECTOR_PROJECT=plex
PUID=1000
PGID=1000
TZ=UTC
VERSION=container
PLEX_CLAIM=

appjail-director.yml:

options:
  - virtualnet: ':<random> default'
  - nat:
services:
  plex:
    name: plex
    options:
      - container: 'boot args:--pull'
    oci:
      user: root
      environment:
        - PUID: !ENV '${PUID}'
        - PGID: !ENV '${PGID}'
        - TZ: !ENV '${TZ}'
        - VERSION: !ENV '${VERSION}'
        - PLEX_CLAIM: !ENV '${PLEX_CLAIM}'
    volumes:
      - plex: /config
      - plex_transcode: /transcode
      - movies: /movies
      - tv: /tv
volumes:
  plex:
    device: '/path/to/containers/plex'
  plex_transcode:
    device: '/path/to/containers/plex/transcode'
  movies:
    device: 'movies'
  tv:
    device: 'tv'

Makejail:

ARG tag=latest

OPTION overwrite=force
OPTION from=ghcr.io/daemonless/plex:${tag}

Podman CLI

podman run -d --name plex \
  -p 32400:32400 \
  -p 1900:1900 \
  -p 32410:32410 \
  -p 32412:32412 \
  -p 32413:32413 \
  -p 32414:32414 \
  -p 32469:32469 \
  -p 8324:8324 \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=UTC \
  -e VERSION=container \
  -e PLEX_CLAIM= \
  -v /path/to/containers/plex:/config \
  -v /path/to/containers/plex/transcode:/transcode # optional \
  -v /path/to/movies:/movies \
  -v /path/to/tv:/tv \
  ghcr.io/daemonless/plex:latest

Ansible

- name: Deploy plex
  containers.podman.podman_container:
    name: plex
    image: ghcr.io/daemonless/plex:latest
    state: started
    restart_policy: always
    env:
      PUID: "1000"
      PGID: "1000"
      TZ: "UTC"
      VERSION: "container"
      PLEX_CLAIM: ""
    ports:
      - "32400:32400"
      - "1900:1900"
      - "32410:32410"
      - "32412:32412"
      - "32413:32413"
      - "32414:32414"
      - "32469:32469"
      - "8324:8324"
    volumes:
      - "/path/to/containers/plex:/config"
      - "/path/to/containers/plex/transcode:/transcode" # optional
      - "/path/to/movies:/movies"
      - "/path/to/tv:/tv"

Access at: http://localhost:32400

Parameters

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
VERSION container Plex update channel (container, public, plexpass)
PLEX_CLAIM `` Optional: Claim token — get one at https://plex.tv/claim

Volumes

Path Description
/config Configuration directory
/transcode Transcode directory (Optional)
/movies Movie library
/tv TV series library

Ports

Port Protocol Description
32400 TCP Web UI
1900 UDP
32410 UDP
32412 UDP
32413 UDP
32414 UDP
32469 TCP
8324 TCP

Architectures: amd64 User: bsd (UID/GID via PUID/PGID, defaults to 1000:1000) Base: FreeBSD 15.0


Need help? Join our Discord community.

About

Native FreeBSD OCI container image for Plex Media Server

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors