From: Roger Braun Date: Thu, 2 Nov 2017 16:45:33 +0000 (+0100) Subject: Read variable for testing db. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=5794558077fc60a77c6c0f7605efc26b47be381a;p=akkoma Read variable for testing db. --- diff --git a/config/test.exs b/config/test.exs index 04136e1f2..26b5410fe 100644 --- a/config/test.exs +++ b/config/test.exs @@ -18,7 +18,7 @@ config :pleroma, Pleroma.Repo, username: "postgres", password: "postgres", database: "pleroma_test", - hostname: "localhost", + hostname: System.get_env("DB_HOST") || "localhost", pool: Ecto.Adapters.SQL.Sandbox