From 8a391a7ad1f97d6ae51ed1d110c89b81dab4f581 Mon Sep 17 00:00:00 2001 From: Raphael Maenle Date: Mon, 10 Jan 2022 23:59:26 +0100 Subject: [PATCH] updates config for server --- config/dev.exs | 3 ++- config/test.exs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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