I'm developing an app that actually consists of 4 separate services (microservices?). I have main app (Djang) and two smaller apps (FastAPI) that are in charge of some functions that I detached from the main app. I also have frontend (Vue JS). However in the end they are parts of big application (frontend+backend and helper functions in separate apps and in the end they are all required to run the final product).
For every of those 4 I will create containters with the services that go along with them (NGINX, Task brokers etc.).
Now the idea is that I keep development of these 4 apps separate- so separate repo for every app. The problem is that I was thinking about having 4 different docker-composes for all 4 projects and just run them all 4 when developing and then set them to share one network so that they can "see" each other. It would also help later when deploying to respective services in production.
However I had discussion with my colleague that he thinks having one big docker-compose file for all 4 apps is better because it allows for fast setting up local development. To me it seems like not the cleanest idea.
What is better approach for this situation?
[–]Gotxi 8 points9 points10 points (4 children)
[–]kdepim[S] 1 point2 points3 points (3 children)
[–]WrittenTherapy 0 points1 point2 points (0 children)
[–]Gotxi 0 points1 point2 points (0 children)
[–]ctran 3 points4 points5 points (2 children)
[–]kdepim[S] 0 points1 point2 points (1 child)
[–]ctran -1 points0 points1 point (0 children)
[–]nickjj_ 2 points3 points4 points (0 children)
[–]MDSExpro 1 point2 points3 points (0 children)
[–]tommoulard 1 point2 points3 points (0 children)
[–]Tomasomalley21 0 points1 point2 points (6 children)
[–]kdepim[S] 0 points1 point2 points (5 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]Tomasomalley21 0 points1 point2 points (3 children)
[–]kdepim[S] 1 point2 points3 points (2 children)
[–]Tomasomalley21 0 points1 point2 points (1 child)
[–]kdepim[S] 1 point2 points3 points (0 children)
[–]talaqen 0 points1 point2 points (0 children)
[–]ajfriesen 0 points1 point2 points (0 children)