Skip to content

Instantly share code, notes, and snippets.

View skobba's full-sized avatar

Gjermund Skobba skobba

View GitHub Profile
# Versions
Version 2 - this time to make use of a feature in docker-compose that isn’t available in the version 3 specification.
Version 3 - is more suited towards use in production than version 2, which has more development friendly features.
# docker-compose
docker-compose start
docker-compose ps
docker-compose up -d --build search
docker-compose down search
which mongod
/usr/local/bin/mongod
Set up launchctl to auto start mongod:
ln -sfv /usr/local/opt/mongodb/homebrew.mxcl.mongodb.plist ~/Library/LaunchAgents