Add web push notification support: push_subscriptions table (migration 0007), VAPID-based push service, subscribe/unsubscribe API routes, SW push+notificationclick handlers, and subscribe UI on account page. Triggers: new version uploaded (all project members) and version approved/rejected (uploader). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
33 lines
821 B
Plaintext
33 lines
821 B
Plaintext
# === PFLICHT ===
|
|
|
|
# Öffentliche URL der App (ohne Trailing-Slash)
|
|
APP_URL=https://hub.mydrugismusic.com
|
|
|
|
# Postgres-Passwort — lang und zufällig, z.B.: openssl rand -hex 24
|
|
POSTGRES_PASSWORD=CHANGE_ME
|
|
|
|
# Magic-Link-Secret — lang und zufällig, z.B.: openssl rand -hex 32
|
|
MAGIC_LINK_SECRET=CHANGE_ME
|
|
|
|
# === EMAIL (ohne = Magic Links nur in API-Log) ===
|
|
|
|
# Resend API-Key (kostenlos bis 3000 Mails/Mo): https://resend.com
|
|
RESEND_API_KEY=re_xxxxxxxxxxxx
|
|
EMAIL_FROM=Music Hub <noreply@mydrugismusic.com>
|
|
|
|
# === S3 / MINIO (Defaults passen für eingebautes MinIO) ===
|
|
|
|
S3_ACCESS_KEY=minioadmin
|
|
S3_SECRET_KEY=minioadmin
|
|
S3_BUCKET=music-hub
|
|
|
|
# === OPTIONAL ===
|
|
|
|
# Externer Port (Coolify mappt das auf die Domain)
|
|
PORT=3000
|
|
|
|
# Push Notifications (VAPID)
|
|
VAPID_PUBLIC_KEY=
|
|
VAPID_PRIVATE_KEY=
|
|
VAPID_EMAIL=admin@musichub.app
|