Last active
December 2, 2015 08:45
-
-
Save andrewgodwin/35904f2d9558eac1b91f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Main Nginx router | |
www-router: | |
image: andrewgodwin/www-router | |
environment: | |
www.aeracode.org: aeracode-varnish | |
aeracode.org: redirect:www.aeracode.org | |
www.codingponies.com: codingponies | |
codingponies.com: redirect:www.codingponies.com | |
www.aerastudios.com: aerastu-varnish | |
aerastudios.com: redirect:www.aerastudios.com | |
grorg.aeracode.org: grorg | |
lastgraph.aeracode.org: lastgraph | |
lastgraph3.aeracode.org: lastgraph | |
stations.aeracode.org: stations | |
ports: | |
- "80:80" | |
links: | |
- aeracode-varnish:aeracode-varnish | |
- aerastu-varnish:aerastu-varnish | |
- codingponies:codingponies | |
- grorg:grorg | |
- lastgraph:lastgraph | |
- stations:stations | |
# SSL termination | |
www-ssl-aeracode: | |
image: andrewgodwin/www-ssl-aeracode | |
ports: | |
- "443:443" | |
links: | |
- www-router:backend | |
# Aeracode | |
aeracode: | |
image: andrewgodwin/aeracode | |
volumes: | |
- /srv/docker/volumes/aeracode-static:/srv/static | |
restart: always | |
aeracode-varnish: | |
image: andrewgodwin/varnish | |
links: | |
- aeracode:backend | |
environment: | |
BACKEND_TYPE: django | |
restart: always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment