-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env.example
35 lines (32 loc) · 1.5 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
##############################################
# Core system settings
##############################################
CUSTOM_HOST_URL=
SESSION_SECRET= # To generate : "< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-32};echo;"
##############################################
# Database settings
##############################################
DB_USERNAME=auxcord
DB_PASSWORD=auxcord
DB_NAME=auxcord
DB_HOST=db # Keep "db" to use the postgresql instance defined in the docker-compose file
DB_SCHEME=postgres
DB_PORT=5432
##############################################
# Spotify settings
# To create a Spotify app, open the following URL : https://developer.spotify.com/dashboard/create and
# follow the steps. Then, open your newly created app and click the "Settings" button on the to right corner. You will then find Client ID and Client Secret
# The redirect URI should be ${CUSTOM_HOST}/auth/spotify/callback
##############################################
SPOTIFY_CLIENT_ID=
SPOTIFY_CLIENT_SECRET=
##############################################
# Sonos settings
# To create a Sonos integration app, go to : https://integration.sonos.com/ and create an account.
# Afterwards, create a new Integration and retrieve the Key and Secret.
# The redirect URI should be ${CUSTOM_HOST}/sonos/authorized.html
# Event Callback URL needs to be set to ${CUSTOM_HOST}/callback
# This last step is important for Sonos to be able to ping AuxCord when a song finishes playing.
##############################################
SONOS_KEY=
SONOS_SECRET=