Sha256: 9dd8fa6cd998ba194dfa431480eb21827ce84e98364533421a7c77c7687d289c

Contents?: true

Size: 571 Bytes

Versions: 1

Compression:

Stored size: 571 Bytes

Contents

default: &default
  adapter: mysql2
  encoding: utf8mb4
  pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
  username: <%= ENV.fetch("DATABASE_USER") { "root" } %>
  password: <%= ENV.fetch("DATABASE_PASSWORD") { "" } %>
  port: 3306
  host: <%= ENV.fetch("DATABASE_HOST") { "127.0.0.1" } %>
  socket: /tmp/mysql.sock

development:
  <<: *default
  database: <%= ENV.fetch("DATABASE_NAME_DEV") { "project_name_dev" } %>

test:
  <<: *default
  database: <%= ENV.fetch("DATABASE_NAME_TEST") { "project_name_dev" } %>


staging:
  <<: *default

production:
  <<: *default

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
n_base_rails-0.1.2 lib/config/database.yml