添加webui-aria2的docker-compose文件

This commit is contained in:
KennyLee 2018-06-04 16:12:24 +08:00
parent be52e95d5d
commit 7c4019bf0c
2 changed files with 17 additions and 0 deletions

1
webui-aria2/.env Normal file
View File

@ -0,0 +1 @@
HOME=/Users/user

View File

@ -0,0 +1,16 @@
version: '3'
services:
webui-aria2:
image: registry.cn-hangzhou.aliyuncs.com/kennylee/webui-aria2
container_name: webui-aria2
volumes:
- ${HOME}/downloads/:/data/downloads/
- ${HOME}/.aria2/:/home/aria/.aria2/
ports:
- "6800:6800"
- "9100:8080"
logging:
driver: 'json-file'
options:
max-size: '10m'
max-file: '1'