Forg/config/database.yml

21 lines
430 B
YAML
Raw Normal View History

2024-04-13 10:22:40 +00:00
default: &default
2024-04-13 13:13:37 +00:00
adapter: postgresql
encoding: unicode
2024-04-13 10:22:40 +00:00
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
timeout: 5000
2024-04-13 13:13:37 +00:00
host: localhost
username: <%= ENV.fetch("POSTGRES_USER") { "postgres" } %>
password: <%= ENV.fetch("POSTGRES_PASSWORD") { "postgres" } %>
2024-04-13 10:22:40 +00:00
development:
<<: *default
2024-04-13 13:13:37 +00:00
database: forg_development
2024-04-13 10:22:40 +00:00
test:
<<: *default
2024-04-13 13:13:37 +00:00
database: forg_test
2024-04-13 10:22:40 +00:00
production:
<<: *default
2024-04-13 13:13:37 +00:00
database: forg_production