diff --git a/config/test.exs b/config/test.exs index 82b36fe..841cdb5 100644 --- a/config/test.exs +++ b/config/test.exs @@ -22,7 +22,7 @@ config :aprsme, Aprsme.PromEx, disabled: true config :aprsme, Aprsme.Repo, username: "postgres", password: "postgres", - hostname: "localhost", + hostname: System.get_env("PGHOST", "localhost"), database: "aprsme_test#{System.get_env("MIX_TEST_PARTITION")}", pool: Ecto.Adapters.SQL.Sandbox, pool_size: pool_size,