Sign inSign up

smdion/docker-h5ai

By smdion

•Updated almost 11 years ago

Image
1

50K+

smdion/docker-h5ai repository overview

⁠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.

This is a fork from clue/docker-h5ai for use on unRAID docker. Moved to phusion and moved config.json outside of docker.

screenshot

See also the demo directory⁠.

⁠Usage

docker run -p 8888:80 --name=h5ai -v /path/of/directory/to/share:/var/www -v /path/to/config:/config smdion/docker-h5ai

⁠Reverse Proxy

I put it behind a reverse proxy to use .htaccess to protect access

<VirtualHost *:80>

	ServerName software.domain.com

	ProxyPass / http://10.10.10.11:8888/
	ProxyPassReverse / http://10.10.10.11:8888/
	ProxyPassReverseCookiePath / /
	
	<Location "/">
	AuthUserFile /config/.htpasswd
	AuthType Basic
	AuthName "Software Downloads"
	Require user admin
	</Location>

</VirtualHost>

Tag summary

Content type

Image

Digest

sha256:7ce558de2…

Size

109.3 MB

Last updated

almost 11 years ago

docker pull smdion/docker-h5ai