MongoDB ReplicaSet Manager for Docker Swarm reddit / selfhosted ---------------------------------------------------------------------- Biog0d ยท 2023-12-06 04:58 I've written this tool out of a need to self-host a MongoDB based application on Docker Swarm, as file-based shared storage of mongodb data does not work - Mongo requires a replicaSet deployment) . โ€‹ This tool can be used with any docker based application/service that depends on Mongo. It automates the configuration, initiation, monitoring, and management of a MongoDB replica set within a Docker Swarm environment, ensuring continuous operation, and adapting to changes within the Swarm network, to maintain high availability and consistency of data. โ€‹ If anybody finds this use-case useful and wishes to try it out, here's the repo: โ€‹ \[MongoDB-ReplicaSet- Manager\]([https://github.com/JackieTreeh0rn/MongoDB-ReplicaSet- Manager](https://github.com/JackieTreeh0rn/MongoDB-ReplicaSet- Manager))