更新aria2pro ariagn cloudreve配置
This commit is contained in:
@@ -2,8 +2,10 @@ version: '3'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
aria2:
|
aria2:
|
||||||
|
container_name: aria2-pro
|
||||||
image: p3terx/aria2-pro
|
image: p3terx/aria2-pro
|
||||||
logging:
|
logging:
|
||||||
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: 1m
|
max-size: 1m
|
||||||
ports:
|
ports:
|
||||||
@@ -12,9 +14,20 @@ services:
|
|||||||
- 6888:6888/udp
|
- 6888:6888/udp
|
||||||
environment:
|
environment:
|
||||||
- RPC_SECRET=12346789
|
- 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:
|
volumes:
|
||||||
- ./data/aria2/config:/config
|
- ./data/config:/config
|
||||||
- ./data/temp/downloads:/downloads
|
- ./data/downloads:/downloads
|
||||||
|
- ./data/data:/data # 下载缓存目录 cloudreve会用到
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
nginx:
|
nginx:
|
||||||
|
|||||||
@@ -4,11 +4,13 @@ services:
|
|||||||
container_name: ariang
|
container_name: ariang
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
logging:
|
logging:
|
||||||
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: 1m
|
max-size: 1m
|
||||||
ports:
|
ports:
|
||||||
- '6880:6880'
|
- '6880:6880'
|
||||||
image: p3terx/ariang
|
image: p3terx/ariang
|
||||||
|
command: --port 6880 --ipv6
|
||||||
networks:
|
networks:
|
||||||
nginx:
|
nginx:
|
||||||
aliases:
|
aliases:
|
||||||
|
|||||||
@@ -1,41 +1,18 @@
|
|||||||
version: '3'
|
version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
aria2:
|
|
||||||
image: p3terx/aria2-pro
|
|
||||||
logging:
|
|
||||||
options:
|
|
||||||
max-size: 1m
|
|
||||||
ports:
|
|
||||||
- 6800:6800
|
|
||||||
- 6888:6888
|
|
||||||
- 6888:6888/udp
|
|
||||||
environment:
|
|
||||||
- PUID=$UID
|
|
||||||
- PGID=$GID
|
|
||||||
- RPC_SECRET=rpc_secret
|
|
||||||
volumes:
|
|
||||||
- ./data/aria2/config:/config
|
|
||||||
- ./data/temp/downloads:/downloads
|
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
nginx:
|
|
||||||
aliases:
|
|
||||||
- aria2
|
|
||||||
|
|
||||||
cloudreve:
|
cloudreve:
|
||||||
image: xavierniu/cloudreve
|
container_name: cloudreve
|
||||||
|
image: cloudreve/cloudreve:latest
|
||||||
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 5212:5212
|
- 5212:5212
|
||||||
environment:
|
|
||||||
- PUID=$UID
|
|
||||||
- PGID=$GID
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/cloudreve/uploads:/cloudreve/uploads
|
- ./data/downloads:/data # 需要是缓存目录
|
||||||
- ./data/temp/downloads:/downloads
|
- ./data/uploads:/cloudreve/uploads
|
||||||
- ./data/cloudreve/config:/cloudreve/config
|
- ./data/conf.ini:/cloudreve/conf.ini
|
||||||
- ./data/cloudreve/db:/cloudreve/db
|
- ./data/cloudreve.db:/cloudreve/cloudreve.db
|
||||||
- ./data/cloudreve/avatar:/cloudreve/avatar
|
- ./data/avatar:/cloudreve/avatar
|
||||||
networks:
|
networks:
|
||||||
nginx:
|
nginx:
|
||||||
aliases:
|
aliases:
|
||||||
@@ -44,3 +21,10 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
nginx:
|
nginx:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
|
# mkdir -vp cloudreve/{uploads,avatar} \
|
||||||
|
# && touch cloudreve/conf.ini \
|
||||||
|
# && touch cloudreve/cloudreve.db \
|
||||||
|
# && mkdir -p aria2/config \
|
||||||
|
# && mkdir -p data/aria2 \
|
||||||
|
# && chmod -R 777 data/aria2
|
||||||
Reference in New Issue
Block a user