支持docker-compose方便管理

This commit is contained in:
Jason 2021-07-13 13:48:42 +08:00
parent 0596f90050
commit 9fa7be47d0
2 changed files with 17 additions and 0 deletions

17
docker-compose.yml Normal file
View File

@ -0,0 +1,17 @@
version: '3'
services:
# https://github.com/zxbu/webdav-aliyundriver
webdav-aliyundriver:
image: zx5253/webdav-aliyundriver
container_name: webdav-aliyundriver
restart: always
volumes:
- /etc/localtime:/etc/localtime
- ./docker/etc/aliyun-driver/:/etc/aliyun-driver/
ports:
- "8080:8080"
tty: true
environment:
- TZ=Asia/Shanghai
- ALIYUNDRIVE_REFRESH_TOKEN=<change me>
- ALIYUNDRIVE_AUTH_PASSWORD=<change me>

View File