Skip to main content

All Questions

0 votes
0 answers
82 views

Unable to connect to mongod instance started with --configsvr option

I am trying to create a mongo sharded cluster. First of all, I want to create a config server replica set with docker compose. My docker-compose.yml file version: "3.8" services: mongo1: ...
biryukvy's user avatar
0 votes
1 answer
102 views

Setup mongo image enabling replication and restore backup from /data/db with docker

I am trying by deploying a mongo image that enables replica with a master a slave and restores information through a volume from the /data/db/ directory when I do not do any replication, the database ...
Juan Castañeda's user avatar
0 votes
1 answer
677 views

Dockerfile ENTRYPOINT not updating [duplicate]

I have a dockerfile that I'm creating for a project. I've tried to update the ENTRYPOINT to my shell script but I don't see it in the docker inspect readout. My docker-entrypoint.sh permission is ...
user avatar
1 vote
2 answers
211 views

MongoDB sharding with repeated documents

I am new to mongodb and wish to create a distributed database environment using docker-compose with mongodb. I've created multiple docker with shards to simulate multiple sites. However, I have a ...
Isaac's user avatar
  • 35
-1 votes
1 answer
3k views

Sessions collection is not set up; waiting until next sessions refresh interval: Replication has not yet been configured

I have a docker-compose.yml file that makes three mongo container which includes three replica sets, my containers build without any problem but setupmongo.sh does not work when my services run ...
RrR's user avatar
  • 31