Sha256: 0344f15dbe56eb903be68cde8c374e457dcc30cfc896158c21e98ea77ea489eb

Contents?: true

Size: 574 Bytes

Versions: 2

Compression:

Stored size: 574 Bytes

Contents

development: &default
  adapter: postgresql
  database: <%= app_name %>_development
  encoding: utf8
  min_messages: warning
  pool: <%%= Integer(ENV.fetch("DB_POOL", 5)) %>
  reaping_frequency: <%%= Integer(ENV.fetch("DB_REAPING_FREQUENCY", 10)) %>
  timeout: 5000
  url:  <%%= ENV["DATABASE_URL"] %>

test:
  <<: *default
  database: <%= app_name %>_test

production: &deploy
  encoding: utf8
  min_messages: warning
  pool: <%%= [Integer(ENV.fetch("MAX_THREADS", 5)), Integer(ENV.fetch("DB_POOL", 5))].max %>
  timeout: 5000
  url:  <%%= ENV.fetch("DATABASE_URL", "") %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
suspenders-20230113.0 templates/postgresql_database.yml.erb
suspenders-1.56.1 templates/postgresql_database.yml.erb