plex handout
prerequisite
claim token
installation
services:
plex:
image: ghcr.io/hotio/plex:latest
container_name: plex
restart: unless-stopped
labels:
- "com.centurylinklabs.watchtower.enable=true"
ports:
- 32400:32400
environment:
- PUID=1000
- PGID=1000
- UMASK=002
- TZ=Europe/Zurich
- PLEX_CLAIM_TOKEN=<token>
- PLEX_ADVERTISE_URL
- PLEX_NO_AUTH_NETWORKS
- PLEX_BETA_INSTALL=false
volumes:
- ./plex/cfg:/config
- ./plex/transcode:/transcode
- /media/pi:/data/media
deploy:
resources:
limits:
cpus: '3.5'