This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | |
NewerOlder