parent
3a8071f3ba
commit
0ec5afbb45
@ -0,0 +1,35 @@
|
|||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
|
cloudreve:
|
||||||
|
container_name: cloudreve
|
||||||
|
image: cloudreve/cloudreve:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "5212:5212"
|
||||||
|
volumes:
|
||||||
|
- temp_data:/data
|
||||||
|
- ./cloudreve/uploads:/cloudreve/uploads
|
||||||
|
- ./cloudreve/conf.ini:/cloudreve/conf.ini # before mount conf.ini, please create file on host dir first
|
||||||
|
- ./cloudreve/cloudreve.db:/cloudreve/cloudreve.db # same as conf.ini
|
||||||
|
- ./cloudreve/avatar:/cloudreve/avatar
|
||||||
|
depends_on:
|
||||||
|
- aria2
|
||||||
|
aria2:
|
||||||
|
container_name: aria2
|
||||||
|
image: p3terx/aria2-pro # third party image, please keep notice what you are doing
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
- RPC_SECRET=your_aria_rpc_token # aria rpc token, customize your own
|
||||||
|
- RPC_PORT=6800
|
||||||
|
volumes:
|
||||||
|
- ./aria2/config:/config
|
||||||
|
- temp_data:/data
|
||||||
|
volumes:
|
||||||
|
temp_data:
|
||||||
|
driver: local
|
||||||
|
driver_opts:
|
||||||
|
type: none
|
||||||
|
# **cloudreve offline download path, customize your own**
|
||||||
|
# **mkdir -p data/aria2 && chmod -R 777 data**
|
||||||
|
device: $PWD/data # create folder before run service
|
||||||
|
o: bind
|
Loading…
Reference in new issue