Skip to content

Commit

Permalink
Add Spotify credentials into the consul config
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlecat committed Jul 10, 2017
1 parent 0f3989b commit d2e9a17
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions consul_config.py.ctmpl
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ REDIS_PORT = {{.Port}}
MBSPOTIFY_BASE_URI = '''{{template "KEY" "mbspotify_url"}}'''
MBSPOTIFY_ACCESS_KEY = '''{{template "KEY" "mbspotify_key"}}'''

SPOTIFY_CLIENT_ID = '''{{template "KEY" "spotify/client_id"}}'''
SPOTIFY_CLIENT_SECRET = '''{{template "KEY" "spotify/client_secret"}}'''

# List of MusicBrainz usernames of people that are allowed to access
# admin section of the website. Usernames are case-sensetive!
ADMINS = [
Expand Down
4 changes: 4 additions & 0 deletions docker/config/CB/config.prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
"client_id": "",
"client_secret": ""
},
"spotify": {
"client_id": "",
"client_secret": ""
},
"mbspotify_url": "https://mbspotify.musicbrainz.org/",
"mbspotify_key": "",
"ga_tracking_id": ""
Expand Down

0 comments on commit d2e9a17

Please sign in to comment.