diff --git a/config/dev.exs b/config/dev.exs index 1ce9156..6b69e13 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -5,7 +5,8 @@ config :bump, Bump.Repo, username: "postgres", password: "postgres", database: "bump_dev", - hostname: "tower.local", + hostname: "database", + port: 5555, show_sensitive_data_on_connection_error: true, pool_size: 10 diff --git a/config/test.exs b/config/test.exs index 2091fa7..4c2ef08 100644 --- a/config/test.exs +++ b/config/test.exs @@ -9,7 +9,8 @@ config :bump, Bump.Repo, username: "postgres", password: "postgres", database: "bump_test#{System.get_env("MIX_TEST_PARTITION")}", - hostname: "tower.local", + hostname: "database", + port: 5555, pool: Ecto.Adapters.SQL.Sandbox, pool_size: 10