HUB
Sign inSign up

fgst/h2o-web

By fgst

•Updated about 8 years ago

Simplest web server base on h2o-http2-server

Image
0

1.5K

fgst/h2o-web repository overview

⁠Quick start

simplest run

docker run -p "8080:8080" -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.1.0
    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
       - sys_admin
    cap_drop:
       - ALL

# vim: syntax=yaml expandtab
⁠Ref

url = https://github.com/lkwg82/h2o.docker.git⁠

Tag summary

Content type

Image

Digest

Size

22.6 MB

Last updated

about 8 years ago

docker pull fgst/h2o-web