Skip to content

Commit

Permalink
Merge pull request #317 from metabrainz/ab-redis
Browse files Browse the repository at this point in the history
Point to our own redis service
  • Loading branch information
mayhem authored Jan 29, 2019
2 parents a602d31 + cec356a commit db524f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions consul_config.py.ctmpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ POSTGRES_ADMIN_AB_URI="postgresql://postgres@{{.Address}}:{{.Port}}/acousticbrai
{{end}}
{{end}}

{{if service "listenbrainz-redis"}}
{{with index (service "listenbrainz-redis") 0}}
{{if service "acousticbrainz-redis"}}
{{with index (service "acousticbrainz-redis") 0}}
REDIS_HOST = "{{.Address}}"
REDIS_PORT = {{.Port}}
REDIS_NAMESPACE = "acousticbrainz"
Expand Down

0 comments on commit db524f6

Please sign in to comment.