https://github.com/helloxz/docker-zdir
Zdir Docker版
https://github.com/helloxz/docker-zdir
Last synced: 8 months ago
JSON representation
Zdir Docker版
- Host: GitHub
- URL: https://github.com/helloxz/docker-zdir
- Owner: helloxz
- Created: 2020-05-30T10:30:45.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-08-08T02:39:04.000Z (almost 5 years ago)
- Last Synced: 2025-07-04T01:05:49.691Z (12 months ago)
- Language: Shell
- Size: 53.7 KB
- Stars: 4
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Zdir
Zdir是一款使用PHP开发的目录列表程序,无需数据库,体积小巧,功能完善。

## 构建方法
```bash
#克隆项目
git clone https://github.com/helloxz/docker-zdir.git
#进入目录
cd docker-zdir
#构建Docker镜像
docker build -t helloz/zdir:latest .
```
## 使用方法
```bash
docker run --name="zdir" \
-d -p 1080:80 --restart=always \
-v /data/wwwroot/default:/data/wwwroot/default \
helloz/zdir \
/usr/sbin/run.sh
```
安装完毕后访问http://IP:1080根据页面提示完成操作即可,下面的参数可以自行修改。
* 1080:服务器所监听的端口,即Zdir访问端口
* /data/wwwroot/default:Zdir路径
* 默认用户名为:`zdir`,密码为`admin`
> 更多说明请参考:[使用Docker容器部署Zdir目录列表程序](https://www.xiaoz.me/archives/14809)