flzta commited on
Commit
301c494
·
verified ·
1 Parent(s): a71aa67

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -39,5 +39,5 @@ RUN mkdir -p /opt/cloudreve/aria2_downloads && chmod -R 777 /opt/cloudreve/aria2
39
  # 暴露 Cloudreve 端口
40
  EXPOSE 5212
41
 
42
- # 设置启动命令 to run Cloudreve in foreground and sync script in background, and start aria2 with DHT and PEX enabled, and increased connections
43
- CMD aria2c --enable-rpc --rpc-listen-port=6800 --daemon --enable-dht=true --enable-pex=true -x 16 -j 5 & /opt/cloudreve/cloudreve -c /opt/cloudreve/config.ini & /opt/cloudreve/sync_data.sh
 
39
  # 暴露 Cloudreve 端口
40
  EXPOSE 5212
41
 
42
+ # 设置启动命令 to run Cloudreve in foreground and sync script in background, and start aria2 with DHT and PEX enabled
43
+ CMD aria2c --enable-rpc --rpc-listen-port=6800 --daemon --enable-dht=true --enable-pex=true & /opt/cloudreve/cloudreve -c /opt/cloudreve/config.ini & /opt/cloudreve/sync_data.sh