Sign inSign up

illyathehath/h5ai

By illyathehath

•Updated about 6 years ago

Another docker version of h5ai file indexer for HTTP web servers

Image
1

1.7K

illyathehath/h5ai repository overview

⁠Docker-H5ai⁠

Docker Docker Builds License

Another docker version of h5ai⁠ file indexer for HTTP web servers, with file managent using File Browser⁠.

⁠How to use this image

⁠Using Docker Commands
docker run -d \
-p 80:80 --name=h5ai --restart=always \
-v $(pwd)/h5ai/files:/www \
-v $(pwd)/h5ai/filebrowser:/etc/filebrowser \
illyathehath/h5ai

The path /www is where h5ai and your files places.
Notice that there are two folders public and private under the path /www, the public folder contains h5ai and files other can see in h5ai webui, but the files in private can only see in filebrowser.

The path /etc/filebrowser is where File Browser database places.

File managent(File Browser) path is http://yourdomain/manage/⁠ (Don't forge '/' at the end of the url).
Default username and password are all admin.

⁠Using Docker Compose
version: "3"
services:
  h5ai:
    image: illyathehath/h5ai
    restart: always
    ports:
      - "80:80"
    volumes:
      - ./h5ai/files:/www
      - ./h5ai/filebrowser:/etc/filebrowser

⁠Build your own image

git clone https://github.com/IllyaTheHath/Docker-H5ai.git
cd Docker-H5ai
docker build -t your/h5ai .

Please note that there are four environment variable:
APK_MIRROR is alpine package manager's source mirror, default value is mirrors.tuna.tsinghua.edu.cn which is located in china.
H5AI_VERSION is the version of h5ai, the newest is 0.29.2 for now.
TZ is the timezone of the container, default is Asia/Shanghai (CST).
TZ_PHP is the timezone of php inside the container,default is Asia\/Shanghai (CST).

Tag summary

Content type

Image

Digest

Size

80.7 MB

Last updated

about 6 years ago

docker pull illyathehath/h5ai