flzta commited on
Commit
b7128d1
·
verified ·
1 Parent(s): ec83cb3

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 BT trackers
43
- CMD aria2c --enable-rpc --rpc-listen-port=6800 --daemon --enable-dht=true --bt-tracker="udp://tracker.coppersurfer.tk:6969/announce,http://tracker.internetwarriors.net:1337/announce,udp://tracker.opentrackr.org:1337/announce" -x 16 -s 4 & /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 increased connections and splits
43
+ CMD aria2c --enable-rpc --rpc-listen-port=6800 --daemon --enable-dht=true --bt-tracker="udp://tracker.coppersurfer.tk:6969/announce,http://tracker.internetwarriors.net:1337/announce,udp://tracker.opentrackr.org:1337/announce" -x 16 -s 8 & /opt/cloudreve/cloudreve -c /opt/cloudreve/config.ini & /opt/cloudreve/sync_data.sh