Last active
April 19, 2020 07:20
-
-
Save yogendra/28c6c9c4984bd0d4d3b7bcf603b394a9 to your computer and use it in GitHub Desktop.
Scratc
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
docker volume create mlab-mongo | |
docker container run --rm --name mlab-mongo --network-alias mlab-mongo -p 27017:27017 -v mlab-mongo-data:/data/db -d mongo | |
docker container run --rm --name mlab -p 5000:5000 -e VCAP_SERVICES='{"mlab": ["credentials": {"uri":"mongodb://mlab-mongo:27017/mlab"}]}' -v config.py:/usr/src/app/config.py cloudgeek007/devopspipeline:6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment