Estimated Reading Time: 1 min
MongoDB 2.6.4 runs on the default port and doesn’t require any credentials.
Simply set the
MONGODB_VERSION environment variable and include the script via the following command in your setup steps.
\curl -sSL https://raw.githubusercontent.com/codeship/scripts/master/packages/mongodb.sh | bash -s
This will start a MongoDB server on port
27018. (You can change the port via the
MONGODB_PORT environment variable, if you want to.)