From 260526f5edef3e99af659d8f3919c9223072bc3c Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Wed, 27 May 2020 17:34:44 -0400 Subject: [PATCH] add redis host for docker test env --- config/dev.exs | 3 +++ config/test.exs | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/config/dev.exs b/config/dev.exs index 01eb67de..7fbec076 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -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. # diff --git a/config/test.exs b/config/test.exs index 0f2d3d09..ce412172 100644 --- a/config/test.exs +++ b/config/test.exs @@ -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,