Skip to content

My First docker project, with a simple one-line command

Notifications You must be signed in to change notification settings

DarkIncognito85/epitech-popeye

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Popeye

docker logo

The application is composed of 5 elements:

  • Poll, a Flask Python web application that gathers votes and push them into a Redis queue.
  • A Redis queue, which holds the votes sent by the Poll application, awaiting for them to be consumed by the Worker.
  • The Worker, a Java application which consumes the votes being in the Redis queue, and stores them into a PostgreSQL database.
  • Database, a PostgreSQL database , which (persistently) stores the votes stored by the Worker.
  • Result, a Node.js web application that fetches the votes from the database and displays the result

Usage

docker build && docker-compose up

Go to localhost:5001 on you brower to show result page and localhost:5000 to show vote page

Results screen

vote result

Automatics tests

Marvin

About

My First docker project, with a simple one-line command

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published