Skip to content

Instantly share code, notes, and snippets.

@lbjay
Created February 19, 2015 16:00
Show Gist options
  • Save lbjay/919346644952876bdcae to your computer and use it in GitHub Desktop.
Save lbjay/919346644952876bdcae to your computer and use it in GitHub Desktop.
# do not create a queue: section for your test environment
test:
adapter: postgresql
encoding: utf8
database: canvas_test
host: localhost
username: postgres
timeout: 5000
login: &login
adapter: postgresql
encoding: utf8
timeout: 5000
username: <%= ENV['DBUSER'] %>
password: <%= ENV['DBPASS'] %>
development:
<<: *login
database: canvas_development
queue:
<<: *login
database: canvas_queue_development
production:
<<: *login
database: canvas_production
queue:
<<: *login
database: canvas_queue_production
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment