Skip to content

Instantly share code, notes, and snippets.

@epintos
Last active August 29, 2015 14:23
Show Gist options
  • Save epintos/634c5ed28d7aa11e6832 to your computer and use it in GitHub Desktop.
Save epintos/634c5ed28d7aa11e6832 to your computer and use it in GitHub Desktop.
Ruby on Rails Continuous Integration with Jenkins and Docker Compose
development: &default
adapter: postgresql
encoding: unicode
database: your-project_development
pool: 5
username: <%= ENV.fetch('DB_USERNAME', 'your-project') %>
password: <%= ENV.fetch('DB_PASSWORD', 'your-project') %>
host: <%= ENV.fetch('DB_1_PORT_5432_TCP_ADDR', 'localhost') %>
port: <%= ENV.fetch('DB_1_PORT_5432_TCP_PORT', '5432') %>
test: &test
<<: *default
database: your-project_test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment