axisofentropy / example-voting-app

Example Docker Compose app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example Voting App

A simple distributed application running across multiple Docker containers.

This example was originally at https://github.com/dockersamples/example-voting-app

It has been modified to demonstrate Continuous Previews on Uffizzi.

Getting started

Uffizzi

We recommend using the reusable workflow from the Uffizzi preview-action.

Linux Containers

The Linux stack uses Python, Node.js, .NET Core (or optionally Java), with Redis for messaging and Postgres for storage.

Architecture

Architecture diagram

Notes

The voting application only accepts one vote per client. It does not register votes if a vote has already been submitted from a client.

This isn't an example of a properly architected perfectly designed distributed app... it's just a simple example of the various types of pieces and languages you might see (queues, persistent data, etc), and how to deal with them in Docker at a basic level.

About

Example Docker Compose app

License:Apache License 2.0


Languages

Language:C# 49.0%Language:CSS 13.1%Language:HTML 11.8%Language:JavaScript 9.6%Language:Dockerfile 6.3%Language:Java 4.8%Language:Python 2.5%Language:Shell 2.1%Language:Objective-J 0.8%