mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-09 08:47:11 -05:00
23 lines
584 B
YAML
23 lines
584 B
YAML
default: &default
|
|
adapter: postgresql
|
|
encoding: unicode
|
|
database: <%= ENV['DATABASE_NAME'] %>
|
|
username: <%= ENV['DATABASE_USERNAME'] %>
|
|
password: <%= ENV['DATABASE_PASSWORD'] %>
|
|
port: <%= ENV['DATABASE_PORT'] || '5432' %>
|
|
host: <%= ENV['DATABASE_HOST'] %>
|
|
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
|
timeout: 5000
|
|
|
|
development:
|
|
<<: *default
|
|
database: solo_customer_template_development
|
|
|
|
test:
|
|
<<: *default
|
|
database: solo_customer_template_test
|
|
|
|
production:
|
|
<<: *default
|
|
database: solo_customer_template_production
|
|
url: <%= ENV['DATABASE_URL'] %>
|