Sha256: c1e326caba0fe621bd2353727b55f59d375e2d306d93ef428ab79fc6cf78f919

Contents?: true

Size: 821 Bytes

Versions: 2

Compression:

Stored size: 821 Bytes

Contents

development: &default
  adapter: postgresql
  database: <%= get(:underscorized_app_name) %>_development
  encoding: utf8
  host: <%%= ENV["BOXEN_POSTGRESQL_HOST"] || ENV["POSTGRESQL_HOST"] || "127.0.0.1" %>
  port: <%%= ENV["BOXEN_POSTGRESQL_PORT"] || ENV["POSTGRESQL_PORT"] || 5432 %>
  username: <%%= ENV["POSTGRESQL_USER"] %>
  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
  adapter: mysql2
  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", "") %>

staging: *deploy

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
potassium-2.1.0 lib/potassium/assets/config/database_postgresql.yml.erb
potassium-2.0.0 lib/potassium/assets/config/database_postgresql.yml.erb