Total Pageviews

Tuesday 7 February 2017

abesto-net-docker

abesto.net and *.abesto.net, run on Docker. (The host happens to be Ubuntu 14.04.1 at Linode)
Requirements:

Running locally

. ./env/dev/bin/activate # Load env variables for volume mount points for running locally (there's also prod, used in production, obviously)
docker-compose pull    # Pull the latest version of all relevant docker repos. Also do this to update versions.
docker-compose up -d   # Start the whole shebang
curl $(boot2docker ip) -H 'Host: abesto.net'  # Look at the blog; use 127.0.0.1 if on Linux and not using boot2docker
docker-compose stop    # Stop and delete containers

What's included

graph Graph generated with https://github.com/abesto/docker-compose-graphviz
HAProxy (routes by Host header)

No comments:

Post a Comment