更新aria2pro ariagn cloudreve配置

This commit is contained in:
2023-06-27 15:42:35 +08:00
parent 0ae7aa3108
commit 94bf2477e2
3 changed files with 35 additions and 36 deletions

View File

@@ -2,9 +2,11 @@ version: '3'
services:
aria2:
container_name: aria2-pro
image: p3terx/aria2-pro
logging:
options:
logging:
driver: json-file
options:
max-size: 1m
ports:
- 6800:6800
@@ -12,9 +14,20 @@ services:
- 6888:6888/udp
environment:
- RPC_SECRET=12346789
# - PUID=65534 # $UID
# - PGID=65534 # $GID
# - UMASK_SET=022
# - RPC_PORT=6800
# - LISTEN_PORT=6888
# - DISK_CACHE=64M
# - IPV6_MODE=false
# - UPDATE_TRACKERS=true
# - CUSTOM_TRACKER_URL=
- TZ=Asia/Shanghai
volumes:
- ./data/aria2/config:/config
- ./data/temp/downloads:/downloads
- ./data/config:/config
- ./data/downloads:/downloads
- ./data/data:/data # 下载缓存目录 cloudreve会用到
restart: unless-stopped
networks:
nginx: