Public | Automated Build

Last pushed: a year ago
Short Description
A automatic h2o reverse proxy with letsencrypt for docker containers
Full Description

h2o-proxy-letsencrypt

HISTORY

  • Curren Version: It's based on alpine:edge docker image and use @testing repository.
  • Second Version: It's based on lkwg82/h2o.docker
  • First Version: It's based on zchee/h2o-proxy

REQUIREMENTS

  • Docker with -e flag supports

BUILD

$ git clone https://github.com/nyarla/h2o-proxy-letsencrypt.git
$ cd h2o-proxy-letsencrypt
$ docker build --rm -t h2o-proxy-letsencrypt

USAGE

1. Start h2o-proxy-letsencrypt container

$ docker run -d \
  --net=host -p 80:80 -p 443:443 \
  -v /var/run/docker.sock:/tmp/docker.sock:ro \
  -e EMAIL=<YOUR EMAIL IS HERE> \
  -e AGREEMET=<`yes` if you agree to Let's Encrypt Terms of Services> \
  h2o-proxy-letsencrypt:latest

2. Start your application container with -e VIRTUAL_HOST=${YOUR DOMAIN} flag

$ git clone https://github.com/docker-training/webapp
$ cd webapp
$ docker build -t webapp .
$ docker run -d -e VIRTUAL_HOST=<YOUR DOMAIN IS HERE> webapp

3. Access your application container

$ curl https://<YOUR DOMAIN>/

AUTHOR

Naoki OKAMURA a.k.a nyarla nyarla@thotep.net

COPYRIGHTS

templates/h2o.conf is based on zhcee/h2o-proxy#h2o.tmpl,
and original file is under the MIT license.

LICENSE

MIT (See LICENSE file.)

Docker Pull Command
Owner
nyarla
Source Repository

Comments (0)