Settings and keys
Plekstender works with nothing but Plex. Everything else is optional: each service it can use needs a key or an account, set either in .env or by an admin in Settings → Services (the setting there wins). What each service is for, what it needs and what’s sent to it is on Services it uses.
The .env file
Section titled “The .env file”| Setting | What it’s for |
|---|---|
APP_URL |
The address people open Plekstender at. |
APP_SECRET_KEY |
A long random secret; Plex tokens are encrypted with a key derived from it. |
POSTGRES_PASSWORD |
The database’s password (POSTGRES_USER, POSTGRES_DB to change the defaults). |
ACCESS_MODE |
Who can sign in: servers (default), allowlist or open. See Who can sign in. |
INITIAL_ADMIN |
Only this Plex username or email may become the first admin. The first person to sign in becomes the admin, with a setup code the web app writes to its log (docker compose logs frontend). |
TZ, LOG_LEVEL |
Time zone and logging. |
PLEKSTENDER_PORT, PLEKSTENDER_LISTEN |
Where the web app is published. Behind a reverse proxy on the same host, use 127.0.0.1:8080 so nobody can go around it. |
FORWARDED_ALLOW_IPS |
The proxies whose forwarded addresses are trusted. |
EXTRA_ORIGINS |
Other addresses Plekstender is opened at (comma-separated); the Tailscale one is added by itself. |
MUSIC_MOUNT |
Your music folder, for music files and artist.jpg. |
TAILSCALE_HOSTNAME, TAILSCALE_AUTHKEY |
Its name on your tailnet, and a key to join without signing in. |
PLEKSTENDER_IMAGE |
The image to run: the published latest by default, or another tag or your own build. See Install. |
PLEKSTENDER_PULL_POLICY |
missing (default): docker compose pull gets a newer image. always: every docker compose up does. |
PLEKSTENDER_HOST, TRAEFIK_* |
For the bundled Traefik (--profile traefik) or your own. |
Service keys
Section titled “Service keys”These can all be set in Settings → Services instead:
LASTFM_API_KEY, LASTFM_SHARED_SECRET, FANART_API_KEY, ACOUSTID_API_KEY, UNSPLASH_ACCESS_KEY, MUSICBRAINZ_CONTACT, JAMBASE_API_KEY (and JAMBASE_MONTHLY_CAP), TICKETMASTER_API_KEY (and TICKETMASTER_DAILY_CAP), SETLISTFM_API_KEY, SPOTIFY_CLIENT_ID, SPOTIFY_CLIENT_SECRET, SEARXNG_URL, SEARXNG_SECRET.
In the app
Section titled “In the app”- Settings → Player: Play mode’s sidebar, fades, radios, layout, casting, keyboard shortcuts. See Player settings.
- Settings → Appearance: theme, accent colour, the background behind pages (album covers or a colour, with blur).
- Settings → Library: how popularity is worked out, sync schedule, playlist image looks (server owners).
- Settings → Services: the keys above, per service.
- Settings → Admin: who can sign in, users, public links, Tailscale.
- Settings → About: the version, release notes, and a check for a newer one.