The first visit to the UI creates the account from a username and password; after that every API route needs a session cookie from logging in. Accounts are stored in app_user (Argon2id password hashes) and sessions in user_session (SHA-256 token hashes, 30 days). The account page lets the user save a Listenbrainz token, checked with Listenbrainz first. It takes priority over listenbrainz.token from the config for LB Radio suggestions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
26 lines
1.0 KiB
Bash
26 lines
1.0 KiB
Bash
# Settings for compose.yaml. Copy this file to .env and fill it in.
|
|
|
|
# Your Subsonic (e.g. Navidrome) server's API. For a server running on the Docker host, use
|
|
# http://host.docker.internal:4533/rest
|
|
SUBSONIC_BASE=http://host.docker.internal:4533/rest
|
|
SUBSONIC_USERNAME=
|
|
SUBSONIC_PASSWORD=
|
|
|
|
# Password for playlistd's own database. Use letters and digits only, as it's put in a URL.
|
|
POSTGRES_PASSWORD=
|
|
|
|
# Optional: your Listenbrainz user token (listenbrainz.org/settings), to find new songs for each
|
|
# genre mix with LB Radio. You can also save it to your account in the web UI, which takes priority.
|
|
LISTENBRAINZ_TOKEN=
|
|
|
|
# Where to serve playlistd. The first visit to the web UI creates the login, and anyone who gets
|
|
# there first can, so it only listens on this machine by default. Once you've created your account,
|
|
# set PLAYLISTD_BIND=0.0.0.0 to make it reachable from your network.
|
|
PLAYLISTD_BIND=127.0.0.1
|
|
PLAYLISTD_PORT=8000
|
|
|
|
# How often to update playlists, in seconds
|
|
DAEMON_INTERVAL=240
|
|
# error, warn, info, debug or trace
|
|
LOG_LEVEL=info
|