Skip to content

A simple grocery app running across multiple Docker containers

License

Notifications You must be signed in to change notification settings

iselab-dearborn/docker-grocery

Repository files navigation

Docker Grocery

A simple grocery app running across multiple Docker containers

GitHub Release GitHub contributors GitHub stars MIT Licence Open Source Love

Getting started

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.

Screenshots

If everything is running ok, you will see the following screen if you access http://localhost:8081



All containers running:

Architecture

output

  • 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

For Developers

If you want to run this project on Docker Swarm, you need to update Docker Hub

sh update-docker-hub.sh

Questions or Suggestions

Feel free to create issues here as you need

Contribute

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.

Authors

  • Thiago Ferreira - Initial work

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

Powered by