Last active
April 7, 2018 20:36
-
-
Save BruceZu/6054cc22ad8a298999013f3edee14330 to your computer and use it in GitHub Desktop.
Mongo replset in docker. Python access and verify Mongo replset.
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
mongo replica set 3.4.4 local docker engine (bridge) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
connect mongo arbiter in docker
$ docker exec -it forticloudplatform_mongo_1 mongo mongodb://forticloudplatform_mongo_arbiter_1
run python from local 'worker' Docker container
find out all place where the code need update: configuration and code