Skip to content
forked from clue/docker-h5ai

h5ai docker image, the modern web server index

Notifications You must be signed in to change notification settings

CoRfr/docker-h5ai

 
 

Repository files navigation

DOCKER-H5AI

RUN with a basic nginx configuration file

$ sudo docker run -d \
  -p 80:80 \
  -v $PWD:/var/www \
  -v $PWD/nginx_config_examples/basic_h5ai.nginx.conf:/etc/nginx/sites-enabled/h5.conf \
  corfr/h5ai

HTTPS and PASSWORD

  1. Create a password file. Set up http auth with nginx
  2. Create nginx conf file or look at the one in nginx_config_examples/
  3. Generate or use a cert and key file. How to create an ssl certificate on nginx
$ sudo docker run -d \
  -p 80:80 \
  -p 443:443 \
  -v $PWD/nginx_config_examples/h5ai.nginx.conf:/etc/nginx/sites-enabled/h5.conf \
  -v $PWD/htpasswd:/mnt/config/htpasswd:ro \
  -v $PWD/ssl:/etc/nginx/ssl:ro \
  -v /home/marcel/media:/var/www \
  corfr/h5ai

About

h5ai docker image, the modern web server index

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published