container-images
container-images copied to clipboard
DBZ-2848 Initialize inventory on MongoDB start
@rk3rn3r now it should work. combined js and bash code in one script and had to restart MongoDB to deploy replicaset
@ismailsimsek I think we are getting closer to a working solution. But I have one more generic question about this solution: When I understand it correctly this container can only be used for single node clusters, right? For some test cases we want to use multi-node clusters / multi-node replica sets. Do you think your solution can be extended for setting up multi-node Mongo DB clusters (which is imo the most common use-case for a Mongo DB)?
I think we are getting closer to a working solution. But I have one more generic question about this solution: When I understand it correctly this container can only be used for single node clusters, right? For some test cases we want to use multi-node clusters / multi-node replica sets. Do you think your solution can be extended for setting up multi-node Mongo DB clusters (which is imo the most common use-case for a Mongo DB)?
reverted previous $HOSTNAME
logic. don't have much MongoDB experience but now it should work with multi-node clusters.