Instantly share code, notes, and snippets.

Embed
What would you like to do?
A mini Docker based PaaS
autodock:
image: prologic/autodock
ports:
- "1338:1338/udp"
- "1338:1338/tcp"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
autodocklogger:
image: prologic/autodock-logger
links:
- autodock
autodockhipache:
image: prologic/autodock-hipache
links:
- autodock
- hipache:redis
hipache:
image: hipache
ports:
- 80:80
- 443:443
@prologic

This comment has been minimized.

Owner

prologic commented Mar 22, 2015

Quick Start:

  • Set up a wildcard A record entry in your domain name's zone file.

Usage:

docker run -d -e VIRTUALHOST=myapp.mydomain.com user/myapp

This assumes:

  • Your app is listening on 80/tcp.

If this is not the case then pass in an extra environment variable -e PORT=8000 (for example).

@prologic

This comment has been minimized.

Owner

prologic commented Mar 22, 2015

The software that powers all this:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment