Skip to main content

autodock hipache plugin

Project description

Image Layers

Hipache Plugin for autodock.

autodock-hipache is MIT licensed.

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.

An optional ALIAS environment value can be given as an extra virtualhost typically used for a www. alias to a domain.

Start a “Hello World” Web Application:

$ docker run -d -e VIRTUALHOST=hello.local prologic/hello
curl -q -o - -H 'Host: hello.local' http://localhost/
Hello World!

docker-compose.yml:

autodock:
    image: prologic/autodock
    volumes:
        - /var/run/docker.sock:/var/run/docker.sock

autodockhipache:
    image: prologic/autodock-hipache
    links:
        - autodock
        - hipache:redis

sslcerts:
    image: prologic/mksslcrt
    command: "*.mydomain.com"

hipache:
    image: prologic/hipache
    ports:
        - "80:80"
        - "443:443"
    volumes_from:
        - sslcerts

hello:
    image: prologic/hello
    environment:
        - VIRTUALHOST=hello.mydomain.com
        - ALIAS=hello.local

Project details


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.2.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

autodock_hipache-0.0.2-cp27-none-macosx_10_10_x86_64.whl (6.1 kB view details)

Uploaded CPython 2.7 macOS 10.10+ x86-64

File details

Details for the file autodock-hipache-0.0.2.tar.gz.

File metadata

File hashes

Hashes for autodock-hipache-0.0.2.tar.gz
Algorithm Hash digest
SHA256 25ca5c1af5d536fb805f3617bbbed8be02f965f93677e179b32b827afcff76a5
MD5 c5f5c12d4c6d61d9be0cc641687d408e
BLAKE2b-256 f18fd64d5dc8527eac42a8a7d81db9139faca3fbc9777cbb94ba21124b10b503

See more details on using hashes here.

File details

Details for the file autodock_hipache-0.0.2-cp27-none-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for autodock_hipache-0.0.2-cp27-none-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 84cdffa8621aa7a51835528b590710d0eaaa5e29f36ce54c0c2748cab9a7a380
MD5 0e12ec2c6e8152ea0cbc18e18ba0c3a2
BLAKE2b-256 de36b6fab4f0836ea9fcfb88e423ee192927bd1bf22ba7cf342532461c729752

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page