Sha256: 92cfc541fc663682aa3689d30654dd8f88e5e90f49b97574a9f1b128d0167171

Contents?: true

Size: 735 Bytes

Versions: 7

Compression:

Stored size: 735 Bytes

Contents

development: &default
  adapter: mysql2
  database: <%= get(:underscorized_app_name) %>_development
  encoding: utf8
  username: root
  host: <%%= ENV["BOXEN_MYSQL_HOST"] || ENV["MYSQL_HOST"] || "127.0.0.1" %>
  port: <%%= ENV["BOXEN_MYSQL_PORT"] || ENV["MYSQL_PORT"] || 3306 %>
  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

7 entries across 7 versions & 1 rubygems

Version Path
potassium-5.2.0 lib/potassium/assets/config/database_mysql.yml.erb
potassium-5.1.4 lib/potassium/assets/config/database_mysql.yml.erb
potassium-5.1.3 lib/potassium/assets/config/database_mysql.yml.erb
potassium-5.1.2 lib/potassium/assets/config/database_mysql.yml.erb
potassium-5.1.1 lib/potassium/assets/config/database_mysql.yml.erb
potassium-3.0.0 lib/potassium/assets/config/database_mysql.yml.erb
potassium-2.3.0 lib/potassium/assets/config/database_mysql.yml.erb