commit: 5794558077fc60a77c6c0f7605efc26b47be381a
parent 32e1e52bd8b243509878e981e334728cbea024e1
Author: Roger Braun <rbraun@Bobble.local>
Date: Thu, 2 Nov 2017 17:45:33 +0100
Read variable for testing db.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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