A simple grocery app running across multiple Docker containers
Download Docker Desktop for Mac or Windows. Docker Compose will be automatically installed. On Linux, make sure you have the latest version of Compose.
Clone this project and run it in this directory:
docker-compose -f docker-compose.dev.yml up
The web app will be running at http://localhost:8081.
If everything is running ok, you will see the following screen if you access http://localhost:8081

All containers running:

-
web: a front-end web app in Node.js which lets you access the list of products
-
creator: A tool in Node.js responsible for storing products every 5 seconds.
-
api: a REST api used for accessing the database
-
mongodb: the MongoDB database
-
mongodbexpress: a web-based MongoDB admin interface
If you want to run this project on Docker Swarm, you need to update Docker Hub
sh update-docker-hub.sh
Feel free to create issues here as you need
Contributions to the this project are very welcome! We can't do this alone! Feel free to fork this project, work on it and then make a pull request.
- Thiago Ferreira - Initial work
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details