diff options
author | Roger Braun <rbraun@Bobble.local> | 2017-11-02 17:45:33 +0100 |
---|---|---|
committer | Roger Braun <rbraun@Bobble.local> | 2017-11-02 17:45:33 +0100 |
commit | 5794558077fc60a77c6c0f7605efc26b47be381a (patch) | |
tree | 390d44e033179fa5b3d360ed631619131d54bc0e | |
parent | 32e1e52bd8b243509878e981e334728cbea024e1 (diff) | |
download | pleroma-5794558077fc60a77c6c0f7605efc26b47be381a.tar.gz |
Read variable for testing db.
-rw-r--r-- | config/test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |