Sha256: af3fb3917724c2e45a9ce4feb09974d6a9df4d162cf94d7a3747269c99885217

Contents?: true

Size: 670 Bytes

Versions: 2

Compression:

Stored size: 670 Bytes

Contents

default: &default
  adapter: postgresql
  encoding: utf8
  host: <%%= ENV['DATABASE_HOST'] %>
  username: <%%= ENV['DATABASE_USERNAME'] %>
  password: <%%= ENV['DATABASE_PASSWORD'] %>
  pool: <%%= Integer(ENV.fetch("DB_POOL", 5)) %>
  reaping_frequency: <%%= Integer(ENV.fetch("DB_REAPING_FREQUENCY", 10)) %>
  timeout: 5000

development:
  <<: *default
  database: <%= app_name %>_development

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

production:
  <<: *default
  database: <%%= ENV.fetch('DATABASE_NAME','<%= app_name %>_production') %>
  pool: <%%= [Integer(ENV.fetch('MAX_THREADS', 5)), Integer(ENV.fetch("DB_POOL", 5))].max %>
  min_messages: warning

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
schienenzeppelin-0.2 templates/config/postgresql.yml.erb
schienenzeppelin-0.1 templates/config/postgresql.yml.erb