add redis host for docker test env

This commit is contained in:
byte[] 2020-05-27 17:34:44 -04:00
parent 4802cf97bb
commit 260526f5ed
2 changed files with 9 additions and 0 deletions

View file

@ -13,6 +13,9 @@ config :philomena,
elasticsearch_url: "http://elasticsearch:9200",
redis_host: "redis"
config :exq,
host: "redis"
# For development, we disable any cache and enable
# debugging and code reloading.
#

View file

@ -7,6 +7,12 @@ config :philomena, Philomena.Repo,
database: "philomena_test",
pool: Ecto.Adapters.SQL.Sandbox
config :philomena,
redis_host: "redis"
config :exq,
host: "redis"
# We don't run a server during test. If one is required,
# you can enable the server option below.
config :philomena, PhilomenaWeb.Endpoint,