Initial commit: Nginx Autoindex文件列表系统
This commit is contained in:
14
docker-compose.yml
Normal file
14
docker-compose.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
fileserver:
|
||||
image: nginx-autoindex:latest
|
||||
container_name: nginx-autoindex
|
||||
ports:
|
||||
- "8080:80"
|
||||
volumes:
|
||||
# 挂载你的文件目录到容器
|
||||
- ./data:/var/www/files
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
Reference in New Issue
Block a user