34 lines
1.5 KiB
Bash
34 lines
1.5 KiB
Bash
|
|
##############################################################################################
|
|
# Environment variables for plex
|
|
##############################################################################################
|
|
|
|
PUID=3015
|
|
PGID=3017
|
|
PLEX_UID=3015
|
|
PLEX_GID=3017
|
|
TZ=Africa/Johannesburg
|
|
|
|
ADVERTISE_IP=https://plex.sthome.org
|
|
|
|
LOCAL_IPS=127.0.0.1/32,10.0.0.0/20,192.168.2.0/24,10.255.224.0/20
|
|
|
|
# Valid settings for VERSION are:-
|
|
# docker: Let Docker handle the Plex Version, we keep our Dockerhub Endpoint up to date with the latest public builds. This is the same as leaving this setting out of your create command.
|
|
# latest: will update plex to the latest version available that you are entitled to.
|
|
# public: will update plexpass users to the latest public version, useful for plexpass users that don't want to be on the bleeding edge but still want the latest public updates.
|
|
# <specific-version>: will select a specific version (eg 0.9.12.4.1192-9a47d21) of plex to install, note you cannot use this to access plexpass versions if you do not have plexpass.
|
|
VERSION=docker
|
|
|
|
|
|
# set to: all or UUID / to get UUID use nvidia-smi --query-gpu=gpu_name,gpu_uuid --format=csv
|
|
NVIDIA_VISIBLE_DEVICES=all # "GPU-b9bf37c1-f8c9-201c-3456-0aa35381be42"
|
|
|
|
|
|
# Visit https://www.plex.tv/claim/ and get your plex claim which will expire in 4 minutes
|
|
# save in plex_claim file in SECRETSDIR and start plex media server app before expiration period ends
|
|
PLEX_CLAIM=file:///run/secrets/plex_claim
|
|
|
|
|
|
|