Another docker version of h5ai file indexer for HTTP web servers, with file managent using File Browser.
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.
version: "3"
services:
h5ai:
image: illyathehath/h5ai
restart: always
ports:
- "80:80"
volumes:
- ./h5ai/files:/www
- ./h5ai/filebrowser:/etc/filebrowser
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).