Sha256: 73ae171cffbc9cd582c10a9eb23ae4d14e16b14a87b9d7fa704d424f5402b29b

Contents?: true

Size: 678 Bytes

Versions: 1

Compression:

Stored size: 678 Bytes

Contents

development: &default
  adapter: mysql2
  database: <%= app_name %>_development
  encoding: utf8mb4
  charset: utf8mb4
  collation: utf8mb4_unicode_ci
  host: localhost
  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: utf8mb4
  charset: utf8mb4
  collation: utf8mb4_unicode_ci
  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

1 entries across 1 versions & 1 rubygems

Version Path
kratos-1.1.0 templates/mysql_database.yml.erb