A decentralized music tracking and discovery platform built on AT Protocol 馃幍
listenbrainz
spotify
atproto
lastfm
musicbrainz
scrobbling
1# Environment Configuration
2NODE_ENV="development" # Options: 'development', 'production'
3PORT="8000" # The port your server will listen on
4HOST="localhost" # Hostname for the server
5PUBLIC_URL="" # Set when deployed publicly, e.g. "https://mysite.com". Informs OAuth client id.
6DB_PATH=":memory:" # The SQLite database path. Leave as ":memory:" to use a temporary in-memory database.
7FRONTEND_URL="http://localhost:5174"
8
9# Secrets
10# Must set this in production. May be generated with `openssl rand -base64 33`
11# COOKIE_SECRET=""
12
13XATA_BRANCH=main
14XATA_API_KEY="your xata api key"
15XATA_POSTGRES_URL="your xata postgres url"
16
17SPOTIFY_REDIRECT_URI="http://localhost:8000/spotify/callback"
18SPOTIFY_CLIENT_ID="your spotify client id"
19SPOTIFY_CLIENT_SECRET="your spotify"
20SPOTIFY_ENCRYPTION_KEY="your spotify encryption secret"
21SPOTIFY_ENCRYPRION_IV="your spotify encryption iv"
22ROCKSKY_BETA_TOKEN="your rocksky beta token"
23
24NATS_URL="nats://localhost:4223"
25ANALYTICS_URL="http://localhost:7879"
26
27DROPBOX_REDIRECT_URI="http://localhost:8000/dropbox/oauth/callback"
28DROPBOX_CLIENT_ID=""
29DROPBOX_CLIENT_SECRET=""
30GOOGLE_REDIRECT_URI="http://localhost:8000/googledrive/oauth/callback"
31
32# The following envs depends on your docker compose setup
33POSTGRES_URL="postgresql://postgres:mysecretpassword@localhost:5433/rocksky"
34MEILISEARCH_API_KEY="masterkey"
35REDIS_URL="redis://localhost:6380"