move more configs to runtime

This commit is contained in:
2022-02-07 19:28:40 -05:00
parent da3a8c15dd
commit be8d3be4b3
4 changed files with 29 additions and 33 deletions

View File

@ -9,9 +9,6 @@ config :bcrypt_elixir, :log_rounds, 1
# to provide built-in test partitioning in CI environment.
# Run `mix help test` for more information.
config :cannery, Cannery.Repo,
url:
System.get_env("TEST_DATABASE_URL") ||
"ecto://postgres:postgres@localhost/cannery_test#{System.get_env("MIX_TEST_PARTITION")}",
pool: Ecto.Adapters.SQL.Sandbox,
pool_size: 10