A python flask webapp using redis - Dockerfile and compose file included
Create an overlay network on each of your nodes you want to run this on to be able to link them and have them communicate
( make sure docker-engine is started with the --cluster-store=consul://IP:PORT options)
and that you have a running K/V store for example consul.
docker network create -d overlay webapp
git clone https://github.com/kamigerami/docker-python-app.git
cd docker-python-app
docker-compose up -d
docker -H :3375 run -d -P -p 6379:6379 --name redis -h redis --net=webapp redis
docker -H :3375 run -d -P -p 5000:5000 --name python-app -h python-app --link redis --net=webapp kamigerami/python-app
docker build -t python-app .
