autodock hipache plugin
Project description
Hipache Plugin for autodock.
Basic Usage
Start the daemon:
$ docker run -d --name autodock prologic/autodock
Link and start the autodock Hipache Plugin:
$ docker run -d --link autodock prologic/autodock-hipache
Now whenever you start a new container autodock will listen for Docker events and discover containers that have been started. The autodock-hipache plugin will specifically listen for starting containers that have a VIRTUALHOST environment variable and reconfigure the running hipache container.
Start a “Hello World” Web Application:
$ docker run -d -e VIRTUALHOST=hello.local prologic/hello
Now assuming you had hello.local configured in your /etc/hosts pointing to your hipache container you can now visit http://hello.local/
echo "127.0.0.1 hello.local" >> /etc/hosts curl -q -o - http://hello.local/ Hello World!
docker-compose.yml:
autodock:
image: prologic/autodock
ports:
- "1338:1338/udp"
- "1338:1338/tcp"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
autodockhipache:
image: prologic/autodock-hipache
links:
- autodock
- hipache:redis
hello:
image: prologic/hello
environment:
- VIRTUALHOST=hello.local
hipache:
image: hipache
ports:
- 80:80
- 443:443
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
autodock-hipache-0.0.1.tar.gz
(3.3 kB
view hashes)