|
|
|
@ -10,8 +10,6 @@ config :gc_index_relay, :start_repo, true |
|
|
|
config :gc_index_relay, GcIndexRelay.Repo, |
|
|
|
config :gc_index_relay, GcIndexRelay.Repo, |
|
|
|
username: System.get_env("POSTGRES_USER"), |
|
|
|
username: System.get_env("POSTGRES_USER"), |
|
|
|
password: System.get_env("POSTGRES_PASSWORD"), |
|
|
|
password: System.get_env("POSTGRES_PASSWORD"), |
|
|
|
hostname: System.get_env("POSTGRES_HOST"), |
|
|
|
|
|
|
|
port: System.get_env("POSTGRES_PORT"), |
|
|
|
|
|
|
|
database: "#{System.get_env("POSTGRES_DB")}#{System.get_env("MIX_TEST_PARTITION")}", |
|
|
|
database: "#{System.get_env("POSTGRES_DB")}#{System.get_env("MIX_TEST_PARTITION")}", |
|
|
|
pool: Ecto.Adapters.SQL.Sandbox, |
|
|
|
pool: Ecto.Adapters.SQL.Sandbox, |
|
|
|
pool_size: System.schedulers_online() * 2 |
|
|
|
pool_size: System.schedulers_online() * 2 |
|
|
|
|