Sha256: 30ec7cd7082cbdc181adfe80bbba3f2a82a00dc06842f3adfde0e530084f6aad

Contents?: true

Size: 572 Bytes

Versions: 4

Compression:

Stored size: 572 Bytes

Contents

default: &default
  adapter: mysql2
  encoding: utf8
  port: 3306
  reconnect: true

local: &local
  <<: *default
  username: root
  password:
  host: <% if app_docker? %>db<% else %>localhost<% end %>

remote: &remote
  <<: *default
  database: <%%= ENV['DB'] %%>
  username: <%%= ENV['DB_USER'] %%>
  password: <%%= ENV['DB_PASSWORD'] %%>
  host: <%%= ENV['DB_HOST'] %%>
  pool: 5

development:
  <<: *local
  database: <%= app_name.downcase %>_development

test:
  <<: *local
  database: <%= app_name.downcase %>_test

staging:
  <<: *remote

production:
  <<: *remote

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
grapethor-0.2.3 lib/grapethor/templates/mysql/config/database.yml.tt
grapethor-0.2.2 lib/grapethor/templates/mysql/config/database.yml.tt
grapethor-0.2.1 lib/grapethor/templates/mysql/config/database.yml.tt
grapethor-0.2.0 lib/grapethor/templates/mysql/config/database.yml.tt