Sha256: 906f48f1d189968d3029ee39450748a6acb15a911b128b9131c710aff8688028

Contents?: true

Size: 654 Bytes

Versions: 4

Compression:

Stored size: 654 Bytes

Contents

default: &default
  adapter: postgresql
  encoding: unicode
  port: 5432

local: &local
  <<: *default
<% if app_docker? -%>
  username: postgres
  password:
  host: db
<% else -%>
  username: <%= app_name.downcase %>
  password: <%= app_name.downcase %>
  host: 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/postgresql/config/database.yml.tt
grapethor-0.2.2 lib/grapethor/templates/postgresql/config/database.yml.tt
grapethor-0.2.1 lib/grapethor/templates/postgresql/config/database.yml.tt
grapethor-0.2.0 lib/grapethor/templates/postgresql/config/database.yml.tt