h5ai docker image, the modern web server index
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Michel Roux b828b5b867 Merge pull request 'Update dependency debian to v11.3' (#2) from renovate/debian-11.x into master 2 months ago
.drone.yml Update for my needs 3 months ago
App.php.patch Update for my needs 3 months ago
Dockerfile Update dependency debian to v11.3 2 months ago
INSTALL.md Update for my needs 3 months ago
README.md Update README.md 4 years ago
h5ai.nginx.conf Update for my needs 3 months ago
options.json.patch Update for my needs 3 months ago
renovate.json Add renovate.json 3 months ago
supervisord.conf Update for my needs 3 months ago

README.md

h5ai

h5ai is a modern web server index. This docker image makes it trivially easy to spin up a webserver and start sharing your files through the web.

screenshot

See also the demo directory.

Usage

This docker image is available as an automated build on Docker Hub, so there's no setup required. Using this image for the first time will start a download automatically. Further runs will be immediate, as the image will be cached locally.

The recommended way to run this container looks like this:

$ docker run -it --rm -p 80:80 -v `pwd`:/var/www clue/h5ai

You can now point your webbrowser to this URL:

http://localhost/

This is a rather common setup following docker's conventions:

  • -it will run an interactive session that can be terminated with CTRL+C
  • --rm will run a temporary session that will make sure to remove the container on exit
  • -v {AnyDirectory}:/var/www will mount the given directory as the base directory for the browsable directory index
  • -p {OutsidePort}:80 will bind the webserver to the given outside port
  • clue/h5ai the name of this docker image