updates config for server

This commit is contained in:
Raphael Maenle 2022-01-10 23:59:26 +01:00
parent 32c0dbd85a
commit 8a391a7ad1
2 changed files with 4 additions and 2 deletions

View File

@ -5,7 +5,8 @@ config :bump, Bump.Repo,
username: "postgres", username: "postgres",
password: "postgres", password: "postgres",
database: "bump_dev", database: "bump_dev",
hostname: "tower.local", hostname: "database",
port: 5555,
show_sensitive_data_on_connection_error: true, show_sensitive_data_on_connection_error: true,
pool_size: 10 pool_size: 10

View File

@ -9,7 +9,8 @@ config :bump, Bump.Repo,
username: "postgres", username: "postgres",
password: "postgres", password: "postgres",
database: "bump_test#{System.get_env("MIX_TEST_PARTITION")}", database: "bump_test#{System.get_env("MIX_TEST_PARTITION")}",
hostname: "tower.local", hostname: "database",
port: 5555,
pool: Ecto.Adapters.SQL.Sandbox, pool: Ecto.Adapters.SQL.Sandbox,
pool_size: 10 pool_size: 10