Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/david-yu/voting-app
Docker example voting app
https://github.com/david-yu/voting-app
Last synced: 18 days ago
JSON representation
Docker example voting app
- Host: GitHub
- URL: https://github.com/david-yu/voting-app
- Owner: david-yu
- License: apache-2.0
- Created: 2016-06-13T23:09:09.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-06-13T23:10:23.000Z (over 8 years ago)
- Last Synced: 2024-11-05T22:19:21.611Z (2 months ago)
- Language: JavaScript
- Size: 53.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Example Voting App
==================This is an example Docker app with multiple services. It is run with Docker Compose and uses Docker Networking to connect containers together. You will need Docker Compose 1.6 or later.
More info at https://blog.docker.com/2015/11/docker-toolbox-compose/
Architecture
-----* 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 timeRunning
-------Run in this directory:
$ docker-compose up
The app will be running on port 5000 on your Docker host, and the results will be on port 5001.
Docker Hub images
-----------------Docker Hub images for services in this app are built automatically from master:
- [docker/example-voting-app-voting-app](https://hub.docker.com/r/docker/example-voting-app-voting-app/)
- [docker/example-voting-app-result-app](https://hub.docker.com/r/docker/example-voting-app-result-app/)
- [docker/example-voting-app-worker](https://hub.docker.com/r/docker/example-voting-app-worker/)