aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/database.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/database.yml b/config/database.yml
index 1912468..16ba3d2 100644
--- a/config/database.yml
+++ b/config/database.yml
@@ -24,7 +24,7 @@ default: &default
# For details on connection pooling, see Rails configuration guide
# https://guides.rubyonrails.org/configuring.html#database-pooling
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
- host: <%= ENV.fetch("DATABASE_HOST", "db") %>
+ host: <%= ENV.fetch("DATABASE_HOST", "localhost") %>
database: <%= ENV.fetch("POSTGRES_DB", "the_map_db") %>
username: <%= ENV.fetch("POSTGRES_USER", "postgres") %>
password: <%= ENV.fetch("POSTGRES_PASSWORD", "postgres") %>