Nav apraksta

Ben Firshman df96dfd638 Add Node debugging 9 gadi atpakaļ
result-app df96dfd638 Add Node debugging 9 gadi atpakaļ
voting-app 34acff585a Run flask server multithreaded 9 gadi atpakaļ
worker e5489683c8 Recreate worker as a .NET Core app 9 gadi atpakaļ
.gitignore e5489683c8 Recreate worker as a .NET Core app 9 gadi atpakaļ
LICENSE e41af6b81c Add LICENSE and MAINTAINERS 9 gadi atpakaļ
MAINTAINERS e41af6b81c Add LICENSE and MAINTAINERS 9 gadi atpakaļ
README.md 0d19451246 Fix typo in image name 9 gadi atpakaļ
docker-compose.yml df96dfd638 Add Node debugging 9 gadi atpakaļ
dockercloud.yml 2d3fe7d299 fixing bug in dockercloud.yml 9 gadi atpakaļ

README.md

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 time

Running

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: