Public | Automated Build

Last pushed: 13 days ago
Short Description
docker images for h2o
Full Description

h2o.docker

docker files for h2o http2 webserver, see https://h2o.examp1e.net/



version specific tags below


simplest run

docker run -p "8080:80" -ti lkwg82/h2o-http2-server

test with

$ curl http://localhost:8080/
not found

A short tutorial can be found on https://blog.lgohlke.de/docker/h2o/2016/03/01/dockerized-h2o-webserver.html

A sample docker-compose file with reduced capability set

version: '2'

services:
  h2o:
    image: lkwg82/h2o-http2-server:v2.0.4
    ports:
       - "444:1443"
    volumes:
       - "/etc/h2o:/etc/h2o"
       - "/etc/letsencrypt:/etc/letsencrypt"
       - "/var/log/h2o:/var/log/h2o"
    working_dir: /etc/h2o
    restart: always
    cap_add:
       - setuid
       - setgid
       - chown
    cap_drop:
       - ALL

# vim: syntax=yaml expandtab

automatically ...

  • checks for new releases
  • create new tags with changed Dockerfile
  • pushes the tags
./check_releases.sh

in crontab

12 23 * * * bash -c 'cd ~/h2o.docker; git pull; ./check_releases.sh'

Tags

Docker Pull Command
Owner
lkwg82
Source Repository