Skip to content

aasailan/instavote-app-master

 
 

Repository files navigation

本项目是docker2016年发布大会上,被用来做debug in docker演示的项目。原项目的仓库已经被删除。我在github上搜到了这个仓库fork下来,以便保存。有兴趣的同学可以去youtobe看一下这个发布会视频。自备梯子哦^^!。

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 Java 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

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.9%
  • HTML 2.7%
  • C# 2.1%
  • CSS 0.9%
  • Dockerfile 0.6%
  • Python 0.6%
  • Shell 0.2%