Skip to content

Commit

Permalink
Merge pull request #211 from paramsingh/merge-branch
Browse files Browse the repository at this point in the history
Merge production into master
  • Loading branch information
paramsingh committed Jun 7, 2018
2 parents 7e2c5c7 + 1f1bcaf commit f147896
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 @@ -33,7 +33,12 @@ SQLALCHEMY_DATABASE_URI = "postgresql://critiquebrainz:critiquebrainz@{{.Address
{{with index (service "pgbouncer-slave") 0}}
MB_DATABASE_URI = "postgresql://musicbrainz_ro@{{.Address}}:{{.Port}}/musicbrainz_db"
{{end}}
{{else if service "pgbouncer-master"}}
{{with index (service "pgbouncer-master") 0}}
MB_DATABASE_URI = "postgresql://musicbrainz_ro@{{.Address}}:{{.Port}}/musicbrainz_db"
{{end}}
{{end}}


{{if service "critiquebrainz-redis"}}
{{with index (service "critiquebrainz-redis") 0}}
Expand Down

0 comments on commit f147896

Please sign in to comment.