Reactions to your songs, new followers, and songs sent to you are now notifications: a bell on the feed (app and website) with an unread count that updates live, and a list that marks them read. "Send ✉" on a song sends it to people who follow you, with an optional note. Settings picks which kinds to be notified about. Push delivery uses no third-party accounts: - Android: UnifiedPush through a distributor app (ntfy), pointed at our own ntfy server (docker-compose.ntfy.yml). Works the same in the F-Droid build; no Firebase. - Browsers: standard Web Push from the existing service worker. Both use Web Push encryption with a VAPID key pair the server makes and keeps in the database. Push addresses are checked like any other user-supplied URL. Setup is in docs/PUSH.md; the privacy page covers the new data. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
46 lines
1.5 KiB
Bash
46 lines
1.5 KiB
Bash
# Copy to deploy/production.env on the server and fill in. Never commit the real file.
|
|
|
|
DOMAIN=musicshare.binarygnome.com
|
|
|
|
# openssl rand -hex 32 (hex: the password goes inside a URL, so no / + = characters)
|
|
POSTGRES_PASSWORD=
|
|
# openssl rand -base64 32 (reuse the old key when importing a database, or saved connections break)
|
|
TOKEN_ENCRYPTION_KEY=
|
|
|
|
# Optional: exact "Open in Spotify" links (catalog search only; no user sign-in)
|
|
SPOTIFY_CLIENT_ID=
|
|
SPOTIFY_CLIENT_SECRET=
|
|
LASTFM_API_KEY=
|
|
LASTFM_SHARED_SECRET=
|
|
ODESLI_API_KEY=
|
|
PLEX_CLIENT_ID=musicshare
|
|
APPLE_TEAM_ID=
|
|
APPLE_MUSICKIT_KEY_ID=
|
|
APPLE_MUSICKIT_PRIVATE_KEY=
|
|
|
|
# Optional donation link shown on the website
|
|
DONATION_URL=
|
|
|
|
# Outgoing email (verification, password reset). SMTPS on 465.
|
|
SMTP_HOST=
|
|
SMTP_PORT=465
|
|
SMTP_USER=
|
|
SMTP_PASSWORD=
|
|
MAIL_FROM=musicshare <app@musicshare.binarygnome.com>
|
|
|
|
# Only with docker-compose.behind-proxy.yml (an existing proxy like NPMplus owns 80/443):
|
|
# the ports the proxy forwards to. Use 127.0.0.1 if the proxy runs with host networking,
|
|
# otherwise this server's LAN IP.
|
|
PROXY_BIND=127.0.0.1
|
|
WEB_PORT=3737
|
|
API_PORT=3738
|
|
|
|
# Phone notifications through your own ntfy server (docker-compose.ntfy.yml, docs/PUSH.md).
|
|
# A subdomain pointed at it, e.g. push.example.com.
|
|
NTFY_DOMAIN=
|
|
# Web Push keys (optional; made automatically and kept in the database if empty).
|
|
VAPID_PUBLIC_KEY=
|
|
VAPID_PRIVATE_KEY=
|
|
# Lyrics: LRCLIB (or your own copy of it). Empty turns lyrics off.
|
|
LRCLIB_URL=https://lrclib.net
|