Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 810 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 810 Bytes

Popeye

Introduction to Docker and Docker Compose, including Docker images and containers.

About this project

This project introduce the use of Docker to deploy a simple web app with different microservices. The goal is to make a simple poll app work that works in any environment. All the code needed for the microservices to work is provided, we only need to focus on Docker.

How to use

Start all the containers with Docker Compose

docker-compose up

Go to localhost:8000 to see the vote webpage and try it

App stack

  • a SQL database to store the poll results (PostgreSQL)
  • a Redis worker
  • a Redis client to send the requests to the worker (written in Java using Jedis)
  • a Python webpage to send the votes (Flask)
  • a NodeJS webpage to see the results of the poll (Express)