aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2021-03-22 15:37:33 +0100
committerhellekin <hellekin@cepheide.org>2021-03-22 15:37:33 +0100
commit8c015485ad2ea61d128a38e7439d8b0574adc169 (patch)
tree7a52f6499ae533ab986f042a779ebfecab14fc20
parentfd5ecf679385cb62f149d54f19b82b8599dc72be (diff)
downloadincommon-map-8c015485ad2ea61d128a38e7439d8b0574adc169.tar.gz
[DEV] Remove unnecessary ambiguity with default database host
-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") %>