Config for my PI/PDS
at main 917 B view raw
1# Server configuration 2SERVER_PORT=8080 3SERVER_HOST=localhost 4 5SERVER_ROOT_URL=https://piper.vielle.dev/ 6 7# Spotify OAuth configuration 8SPOTIFY_CLIENT_ID= 9SPOTIFY_CLIENT_SECRET= 10SPOTIFY_AUTH_URL=https://accounts.spotify.com/authorize 11SPOTIFY_TOKEN_URL=https://accounts.spotify.com/api/token 12SPOTIFY_SCOPES=user-read-currently-playing user-read-email 13 14# ATProto OAuth configuration 15# link to metadata url 16ATPROTO_CLIENT_ID=https://piper.vielle.dev/oauth-client-metadata.json 17ATPROTO_METADATA_URL=https://piper.vielle.dev/oauth-client-metadata.json 18ATPROTO_CALLBACK_URL=https://piper.vielle.dev/callback/atproto 19ATPROTO_CLIENT_SECRET_KEY={goat key generate -t P-256} 20ATPROTO_CLIENT_SECRET_KEY_ID={can be whatever usually a timestamp} 21 22# Last.fm 23LASTFM_API_KEY= 24 25# Callback URLs 26CALLBACK_SPOTIFY=https://piper.vielle.dev/callback/spotify 27 28# Tracker settings 29TRACKER_INTERVAL=30 30 31# Database settings 32DB_PATH=/db/piper.db