Soc/config/database.yml

23 lines
538 B
YAML
Raw Normal View History

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
2023-09-29 09:20:41 +00:00
password: <%= ENV["POSTGRES_PASSWORD"] %>
host: <%= ENV.fetch("DB_HOST") { 'localhost' } %>