Public | Automated Build

Last pushed: 10 months ago
Short Description
An h5ai image forked from clue/h5ai
Full Description

#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 \
  paulvalla/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 \
  paulvalla/h5ai
Docker Pull Command
Owner
corfr
Source Repository

Comments (0)