Created
November 14, 2013 08:48
-
-
Save pjvds/7463531 to your computer and use it in GitHub Desktop.
Wercker.yml that generated a config/database.yml for rails
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
box: wercker/ruby | |
services: | |
- wercker/postgresql9.2 | |
build: | |
steps: | |
- create-file: | |
filename: config/database.yml | |
content: |- | |
adapter: postgresql | |
encoding: utf8 | |
database: <%= ENV['WERCKER_POSTGRESQL_DATABASE'] %> | |
username: <%= ENV['WERCKER_POSTGRESQL_USERNAME'] %> | |
password: <%= ENV['WERCKER_POSTGRESQL_PASSWORD'] %> | |
host: <%= ENV['WERCKER_POSTGRESQL_HOST'] %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment