Sha256: 687ebbde798198401b3bcbfb3d508203595c15fd823fe6842cb62620d1c4e7c4

Contents?: true

Size: 711 Bytes

Versions: 3

Compression:

Stored size: 711 Bytes

Contents

development: &default
  adapter: postgresql
  database: <%= get(:underscorized_app_name) %>_development
  encoding: utf8
  host: <%%= ENV["DB_HOST"] || "127.0.0.1" %>
  port: <%%= ENV["DB_PORT"] || 5432 %>
  username: <%%= ENV["DB_USER"] || 'postgres' %>
  min_messages: warning
  pool: <%%= Integer(ENV.fetch("DB_POOL", 5)) %>
  reaping_frequency: <%%= Integer(ENV.fetch("DB_REAPING_FREQUENCY", 10)) %>
  timeout: 5000

test:
  <<: *default
  database: <%= get(:underscorized_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

3 entries across 3 versions & 1 rubygems

Version Path
potassium-5.2.3 lib/potassium/assets/config/database_postgresql.yml.erb
potassium-5.2.2 lib/potassium/assets/config/database_postgresql.yml.erb
potassium-5.2.1 lib/potassium/assets/config/database_postgresql.yml.erb