Skip to content

Install

Plekstender runs as a few containers: the web app, a worker for background jobs, and PostgreSQL. You need Docker with Compose, and a Plex Media Server it can reach.

Terminal window
git clone https://github.com/joakimkingstrom/plekstender.git
cd plekstender
cp .env.example .env
# Fill in APP_URL, APP_SECRET_KEY and POSTGRES_PASSWORD (see the comments in the file)
docker compose up -d

Then open your APP_URL, sign in with Plex, and connect a server. The first sync reads the music libraries you choose; after that it keeps up by itself.

  • APP_URL: the address people open Plekstender at (and Plex sends them back to after signing in).
  • APP_SECRET_KEY: a long random secret. Plex tokens are stored encrypted with a key derived from it, so keep it safe and don’t change it.
  • POSTGRES_PASSWORD: the database’s password.

Compose runs the published image, ghcr.io/joakimkingstrom/plekstender:latest (amd64 and arm64): nothing is built on your machine. Every build from main gets the next version number (0.2.<commits>), shown in Settings → About.

To run another tag, set PLEKSTENDER_IMAGE in .env:

  • …/plekstender:stable: releases only.
  • …/plekstender:0.2.1234: one version, kept until you change it.
  • …/plekstender:staging: changes before they reach main.
  • plekstender:local: your own build, after docker build -t plekstender:local . in the checkout.

To read and edit your files’ tags, find lyrics, or save artist.jpg next to your music, set MUSIC_MOUNT in .env to your music folder. It’s mounted read-write at /music in the worker container only: the web app never touches music files. Then set it up in Settings → Music files.

docker compose --profile tailscale up -d puts Plekstender on your Tailscale network at https://plekstender.<tailnet>.ts.net, with a certificate Tailscale gets and renews: no reverse proxy needed. Turn on MagicDNS and HTTPS certificates in the tailnet’s admin console first. Settings → Admin → Tailscale signs it in and turns Serve and Funnel (the internet) on or off.

Start with --profile search to run SearXNG next to Plekstender (for finding artist logos), or point SEARXNG_URL at your own.