Skip to content

Commit

Permalink
Merge pull request #207 from paramsingh/merge-branch
Browse files Browse the repository at this point in the history
Merge production into master
  • Loading branch information
paramsingh committed Apr 30, 2018
2 parents d65652a + 64e8575 commit 9991c07
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions consul_config.py.ctmpl
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ MUSICBRAINZ_CLIENT_SECRET = '''{{template "KEY" "musicbrainz/client_secret"}}'''
{{if service "pgbouncer-master"}}
{{with index (service "pgbouncer-master") 0}}
SQLALCHEMY_DATABASE_URI = "postgresql://critiquebrainz:critiquebrainz@{{.Address}}:{{.Port}}/critiquebrainz_db"
{{end}}
{{end}}

{{if service "postgres-slave"}}
{{with index (service "postgres-slave") 0}}
MB_DATABASE_URI = "postgresql://musicbrainz_ro@{{.Address}}:{{.Port}}/musicbrainz_db"
{{end}}
{{end}}
Expand Down

0 comments on commit 9991c07

Please sign in to comment.