Self-host Plex with Levelrail
A media server that organizes your movies, TV, and music and streams them to any device.
- Memory2 GiB
- Archarm64
- Services1
How to self-host Plex
-
Pull the images
One image is pulled on your server.
Show images
lscr.io/linuxserver/plex:1.43.4.10903-e5521bd8c-ls327
-
Create the app
One service starts in a single Compose app, with 1 named volume mount for your data, on port 32400.
-
Fill in the secrets
4 settings are preset, you do not have to fill in anything.
-
Open it
Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.
Plex requirements
- Memory
- About 2 GiB
- Architectures
- amd64 image published, arm64 image published
- Ports
- 32400
- Domain
- Optional, an sslip.io address is used without one
- Settings
- none to fill in
- License
- not yet recorded
- Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.
- Host ports. It publishes port 32400 on the host, so open them in the VPS firewall only if you want that.
Install Levelrail first
On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then Plex. New to Levelrail? Install it on a fresh VPS first.
docker pull ghcr.io/glincker/levelrail:latest Then levelrail-cli login --device. See Getting started and the Plex docs page.
Deploy Plex your way
Every format below deploys the same pinned images. Pick the one that fits how you work.
Deploy Plex from the CLI
levelrail-cli templates deploy plex --name my-plex Deploy Plex with the API
curl -X POST -H "Authorization: Bearer $TOKEN" \
https://levelrail.example.com/api/v1/service-templates/plex/deploy Plex configuration
Plex services
| Service | Image | Ports | Volumes |
|---|---|---|---|
| plex | lscr.io/linuxserver/plex:1.43.4.10903-e5521bd8c-ls327 | 32400 | plex_config -> /config |
Plex environment variables
| Variable | Service | Value |
|---|---|---|
| PGID | plex | Preset by the template |
| PUID | plex | Preset by the template |
| TZ | plex | Preset by the template |
| VERSION | plex | Preset by the template |
Ports and volumes
- Ports
- 32400
- Volumes
- 1 named mount: plex_config -> /config
Plex FAQ
How much memory does Plex need?
The catalog lists about 2 GiB of memory for Plex.
Does Plex run on arm64?
For Plex, an arm64 image is published; amd64 is image published.
Does Plex need configuration before it starts?
No. The template fills in its own defaults.
Which ports does Plex use?
Plex listens on port 32400 inside the stack.
Where does Plex keep its data?
In a named volume: plex_config mounted at /config.
Can I deploy Plex on Dokploy or Dokku?
The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list we compared does not have an entry with the same id for Plex, so on Dokploy you would use a Docker Compose application with the file from this page. Dokku deploys container images with its own commands, so the pinned image lscr.io/linuxserver/plex:1.43.4.10903-e5521bd8c-ls327 is what you deploy there.