mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 14:57:59 +01:00
add redis host for docker test env
This commit is contained in:
parent
4802cf97bb
commit
260526f5ed
2 changed files with 9 additions and 0 deletions
|
@ -13,6 +13,9 @@ config :philomena,
|
||||||
elasticsearch_url: "http://elasticsearch:9200",
|
elasticsearch_url: "http://elasticsearch:9200",
|
||||||
redis_host: "redis"
|
redis_host: "redis"
|
||||||
|
|
||||||
|
config :exq,
|
||||||
|
host: "redis"
|
||||||
|
|
||||||
# For development, we disable any cache and enable
|
# For development, we disable any cache and enable
|
||||||
# debugging and code reloading.
|
# debugging and code reloading.
|
||||||
#
|
#
|
||||||
|
|
|
@ -7,6 +7,12 @@ config :philomena, Philomena.Repo,
|
||||||
database: "philomena_test",
|
database: "philomena_test",
|
||||||
pool: Ecto.Adapters.SQL.Sandbox
|
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,
|
# We don't run a server during test. If one is required,
|
||||||
# you can enable the server option below.
|
# you can enable the server option below.
|
||||||
config :philomena, PhilomenaWeb.Endpoint,
|
config :philomena, PhilomenaWeb.Endpoint,
|
||||||
|
|
Loading…
Reference in a new issue