How is this actually achieved to configure the replica set. Do I have to run a setup script, which connects to the instance and runs the
So I added
mongo_container: &mongo_container image: circleci/mongo:4.0.5 command: [mongod, --bind_ip_all, --replSet, rs0]
But how can I run the configuration?
This is the Error, which looks like just the config is missing:
No primary server is available in cluster: #<Cluster topology=ReplicaSetNoPrimary[localhost:27017,name=rs0] servers=[#<Server address=localhost:27017 GHOST>]> with timeout=30, LT=0.015