anyone worked on installation or Maintenance of DB ? What are the challenges you have faced ?
I used this Docker setup to complete M201
I have been looking at trying to Dockerize an entire Replica set, with authentication enabled, but it has not gone well the few times I have attempted it.
From what I have learned it looks like an bash script is need to handle to setup of the replica set, and re launch after with
So the docker-compose file needs to launch the mongods without any authentication then have the script setup replica set, than bring them down and back up with authentication.
I am actually looking at doing this with my current production mongodb. It is a stand alone right now. So my steps are going to be something like
- Dockerize the stand alone process.
- Add it to the swarm stack.
- Create 2 new Droplets and add them to the swarm.
- Somehow figure out how to get the replica set setup…
As you can read I am not 100% sure on the process. So any input is helpful!
What have you been looking at doing @Sachin_34902?