Sha256: 8ffe3c180982391fcd59d558d3c9dd240ca430d3f1f791ed66dd5f629e0d6d2d

Contents?: true

Size: 703 Bytes

Versions: 1

Compression:

Stored size: 703 Bytes

Contents

development: &default
  host: <%%= ENV.fetch("POSTGRES_HOST") { nil } %>
  username: <%%= ENV.fetch("POSTGRES_USER") { nil } %>
  password: <%%= ENV.fetch("POSTGRES_PASSWORD") { nil } %>
  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

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

1 entries across 1 versions & 1 rubygems

Version Path
bulldozer-1.6.3 templates/postgresql_database.yml.erb