- git clone this repo
- check the folder structure
- ensure you have docker, docker-compose
- docker-compose -f deployments/docker-compose.yml up --scale app=<1,6> --build --force-recreate -V -d
- open MongoEXpress http://localhost:8985
- create a database "mini_test"
- create a collection "products"
- update datafile.son ( first product)
- call localhost:<11920,11925>/
- /fetch */import => not updated */ => initial info
Link : Load balancer : https://pspdfkit.com/blog/2018/how-to-use-docker-compose-to-run-multiple-instances-of-a-service-in-development/?fbclid=IwAR0-hoVgBe_a9BYcyiPBHE9bxZ9AjUauWAgT59I-uJK8jVT0000k9tbnfqI