genomehubs/h5ai

Sponsored OSS

By genomehubs

Updated about 3 years ago

Customisable Docker container to set up an h5ai download server

Image
Content Management System
Web Servers

10K+

GenomeHubs h5ai download server deployment

View on Github

docker run -d \
                   --name h5ai-download \
                   -v h5ai/conf:/conf \
                   -v /data/to/host:/var/www/data \
                   -p 8080:8080 \
                   genomehubs/h5ai:latest

Directories to be indexed should be mounted as subdirectories of /var/www

Files in a directory mounted to /conf will be used as follows

  • lighttpd.conf overwrites /etc/lighttpd/lighttpd.conf
  • options.json overwrites /var/www/_h5ai/private/conf/options.json
  • index.html is copied to /var/www/ and will be served in place of a directory listing for the server root
  • Masthead.html is added to /var/www/_h5ai/private/php/pages/index.php as a masthead on everypage
  • img/* files in this directory are copied to /var/www/img
  • custom.css is copied to /var/www/_h5ai/public/ext/

Docker Pull Command

docker pull genomehubs/h5ai