Skip to content

Instantly share code, notes, and snippets.

@epintos
Created June 25, 2015 23:48
Show Gist options
  • Save epintos/fd42fae0ad2b5f7e249d to your computer and use it in GitHub Desktop.
Save epintos/fd42fae0ad2b5f7e249d to your computer and use it in GitHub Desktop.
Ruby on Rails Continuous Integration with Jenkins and Docker Compose
cat >config/mongoid.yml <<EOF
test:
sessions:
default:
database: ${JOB_NAME}_test
hosts:
- <%= "#{ENV['DB_1_PORT_27017_TCP_ADDR']}:#{ENV['DB_1_PORT_27017_TCP_PORT']}" %>
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment