ZFile Docker
此Docker镜像由Xavier Niu维护,基于:
- lsiobase/alpine:3.11
- zfile:2.9.0
Docker Hub: xavierniu/zfile
ZFile
ZFile是一个在线文件目录的程序,支持对象存储和本地存储,使用定位是个人网盘或公共文件库。
GitHub Repo: https://github.com/zhaojun1998/zfile
文档地址: http://docs.zhaojun.im/zfile
运行
使用Docker运行
docker run -d --name zfile \
-e PUID=1000 \ # optional
-e PGID=1000 \ # optional
-e TZ="Asia/Shanghai" \ # optional
-p 8080:8080 \
--restart=unless-stopped \
-v <YOUR ZFILE CONFIG PATH>:/root/.zfile-new \
-v <YOUR ZFILE DATA PATH>:/zfile \
xavierniu/zfile
Environment Variables
- PUID以及PGID的使用方法以及为什么使用参见: Understanding PUID and PGID
TZ
设置时区,默认值为Asia/Shanghai
Volumes
<YOUR ZFILE CONFIG PATH>
: zfile配置目录<YOUR ZFILE DATA PATH>
: zfile本地文件系统