Go to file
Ben Firshman ed73c0c428 Merge pull request #40 from ManoMarks/master
Adding additional compose file
2016-10-19 07:57:29 +01:00
result Reword connection retry messages 2016-06-19 21:32:18 -07:00
vote Put gunicorn command in list 2016-06-18 10:56:26 -07:00
worker Revert "Updating Worker Dockerfile" 2016-09-26 16:41:04 +01:00
.gitignore Recreate worker as a .NET Core app 2016-06-11 14:26:04 -07:00
architecture.png Update architecture diagram 2016-06-19 12:14:38 -07:00
docker-compose-simple.yml moved docker-compose.yml to docker-compose-simple.yml and restored older version of docker-compose.yml with networks and volumes 2016-10-11 16:24:49 -07:00
docker-compose.yml moved docker-compose.yml to docker-compose-simple.yml and restored older version of docker-compose.yml with networks and volumes 2016-10-11 16:24:49 -07:00
dockercloud.yml Fix image names in dockercloud.yml 2016-06-18 10:49:05 -07:00
LICENSE Add LICENSE and MAINTAINERS 2016-03-31 11:49:23 -07:00
MAINTAINERS Add LICENSE and MAINTAINERS 2016-03-31 11:49:23 -07:00
README.md Replace Java with .NET 2016-06-29 13:11:48 +02:00

Instavote

Getting started

Download Docker for Mac or Windows.

Run in this directory:

$ docker-compose up

The app will be running at http://localhost:5000, and the results will be at http://localhost:5001.

Architecture

Architecture diagram

  • A Python webapp which lets you vote between two options
  • A Redis queue which collects new votes
  • A .NET worker which consumes votes and stores them in…
  • A Postgres database backed by a Docker volume
  • A Node.js webapp which shows the results of the voting in real time