You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
414 B
Plaintext

default: &default
adapter: postgresql
encoding: unicode
pool: <%%= [5, *ENV.values_at("RAILS_MAX_THREADS", "SIDEKIQ_CONCURRENCY")].map(&:to_i).max %>
host: 0.0.0.0
port: 5432
username: postgres
password: postgres
development:
<<: *default
database: <%= app_name %>_development
test:
<<: *default
database: <%= app_name %>_test
production:
<<: *default
url: <%%= ENV["DATABASE_URL"] %>