chore(compose): update compose example

update compose example

Signed-off-by: kovacs <mritd@linux.com>
pull/1349/head
kovacs 3 years ago
parent b86d812cdd
commit de5ad1226c
No known key found for this signature in database
GPG Key ID: 150E1851F767CDDD

@ -6,25 +6,25 @@ services:
restart: unless-stopped restart: unless-stopped
ports: ports:
- "5212:5212" - "5212:5212"
- "6800:6800"
- "6880:6880"
volumes: volumes:
- ./data:/data - ./data:/data
- temp_data:/data/aria2 - temp_data:/tmp
depends_on:
- aria2
aria2: aria2:
container_name: aria2 container_name: aria2
image: p3terx/aria2-pro # third party image, please keep notice what you are doing image: p3terx/aria2-pro # third party image, please keep notice what you are doing
restart: unless-stopped restart: unless-stopped
network_mode: service:cloudreve
environment: environment:
- RPC_SECRET=your_aria_rpc_token # aria rpc token, customize your own - RPC_SECRET=your_aria_rpc_token # 请务必修改此处 Token 为随机字符串, 否则其他人都可以使用你的 Aria2 服务器
- RPC_PORT=6800
volumes: volumes:
- ./aria2/config:/config - ./aria2_config:/config
- temp_data:/data - temp_data:/tmp
aria2-ui:
container_name: aria2-ui
image: p3terx/ariang
restart: unless-stopped
network_mode: service:cloudreve
volumes: volumes:
temp_data: temp_data:
driver: local
driver_opts:
type: none
device: $PWD/data
o: bind

Loading…
Cancel
Save