default: &default adapter: postgresql encoding: unicode # For details on connection pooling, see Rails configuration guide # https://guides.rubyonrails.org/configuring.html#database-pooling pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> username: soc development: <<: *default database: soc_development password: postgres test: <<: *default database: soc_test production: <<: *default database: soc_production password: <%= ENV["POSTGRES_PASSWORD"] %> host: <%= ENV.fetch("DB_HOST") { 'localhost' } %>