diff options
Diffstat (limited to 'config/database.yml')
-rw-r--r-- | config/database.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/database.yml b/config/database.yml index bfc1d74..233210c 100644 --- a/config/database.yml +++ b/config/database.yml @@ -20,6 +20,11 @@ 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") %> + database: <%= ENV.fetch("POSTGRES_DB", "the_map_db") %> + username: <%= ENV.fetch("POSTGRES_USER", "postgres") %> + password: <%= ENV.fetch("POSTGRES_PASSWORD", "postgres") %> + development: <<: *default |