From 8c015485ad2ea61d128a38e7439d8b0574adc169 Mon Sep 17 00:00:00 2001 From: hellekin Date: Mon, 22 Mar 2021 15:37:33 +0100 Subject: [DEV] Remove unnecessary ambiguity with default database host --- config/database.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") %> -- cgit v1.2.3