voting app #0

Supports: trusty wily xenial

Add to new model

Description

Deploys a 5 service application as standalone to perform voting and result
analysis. Supports relations which will reconfigure the application from
stand-alone to scale-out usage.


Overview

Describe the intended usage of this charm and anything unique about how this
charm relates to others here.

This README will be displayed in the Charm Store, it should be either Markdown
or RST. Ideal READMEs include instructions on how to use the charm, expected
usage, and charm features that your audience might be interested in. For an
example of a well written README check out Hadoop:
http://jujucharms.com/charms/precise/hadoop

Use this as a Markdown reference if you need help with the formatting of this
README: http://askubuntu.com/editing-help

This charm provides service. Add a description here of what the service
itself actually does.

Also remember to check the icon guidelines so that your charm looks good
in the Juju GUI.

Usage

Step by step instructions on using the charm:

juju deploy servicename

and so on. If you're providing a web service or something that the end user
needs to go to, tell them here, especially if you're deploying a service that
might listen to a non-default port.

You can then browse to http://ip-address to configure the service.

Scale out Usage

If the charm has any recommendations for running at scale, outline them in
examples here. For example if you have a memcached relation that improves
performance, mention it here.

Known Limitations and Issues

This not only helps users but gives people a place to start if they want to help
you add features to your charm.

Configuration

The configuration options will be listed on the charm store, however If you're
making assumptions or opinionated decisions in the charm (like setting a default
administrator password), you should detail that here so the user knows how to
change it immediately, etc.

Contact Information

Though this will be listed in the charm store itself don't assume a user will
know that, so include that information here:

Upstream Project Name

  • Upstream website
  • Upstream bug tracker
  • Upstream mailing list or contact information
  • Feel free to add things if it's useful for users

Configuration

enable-cgroups
(boolean) Enable GRUB cgroup overrides cgroup_enable=memory swapaccount=1. WARNING changing this option will reboot the host - use with caution on production services
postgres_image
(string) Image to pull from the registry for the postgres app
postgres:9.4
redis_image
(string) Image to pull from the registry for the redis app
redis:alpine
result_image
(string) Image to pull from the registry for the result app
lazypower/result-example
result_port
(int) Host port to bind the result application
5001
vote_image
(string) Image to pull from the registry for the vote app
lazypower/vote-example
vote_port
(int) Host port to bind the vote application
5000
worker_image
(string) Image to pull from the registry for the result app
lazypower/worker-example