opendiffy / diffy

Other
1.25k stars 142 forks source link

feat: use mongodb instead of embedded mongo #105

Open Scoppio opened 5 days ago

Scoppio commented 5 days ago

Updated the example and changed POM to allow for a deployed mongodb, this also enables the use of cloud based mongodbs, self maintained, or use of any API compatible document db.

The docker compose for local testing/experimentation was also updated to have the mongodb added to it, it has some hardcoded credentials for local development so be mindful of that.

PS.: The embedded mongo is a source of frustration, and the fact that this project requires it present, and alot of why it doest not work is because it needs a certain environment, a certain OS, a certain library, etc, and it is not all already fixed and present inside the Docker build process, also there is a common want for deploying with a dedicated mongo DB that is shared between multiple pods, then to me it is important that this version exist.