#演示视频https://youtu.be/h8k3o-g8TyU
使用方法: 下载链接:https://github.com/ykxVK8yL5L/Aria2-Pro-Docker/tree/master/u里的upload.db文件放到本地这个是上传完成后保存链接的数据库文件
建个token.ini内容为:token=xxxxxxx
使用--mount 参数挂载两个文件到/u/下。 示例命令:
docker run -d \
--name web3 \
--restart unless-stopped \
--log-opt max-size=1m \
-e PUID=$UID \
-e PGID=$GID \
-e UMASK_SET=022 \
-e RPC_SECRET=123456 \
-e RPC_PORT=6800 \
-p 6800:6800 \
-e LISTEN_PORT=6888 \
-p 6888:6888 \
-p 10086:8080 \
-p 6888:6888/udp \
-v /docker_data/web3/config:/config \
-v /docker_data/web3/downloads:/downloads \
--mount type=bind,source=/docker_data/web3/config/token.ini,target=/u/token.ini \
--mount type=bind,source=/docker_data/web3/config/upload.db,target=/u/upload.db \
ykxvk8yl5l/web3
其它使用方法和aria2-pro一样。如果不需要上传的话删除/config/script/clean.sh里的/u/Web3代码即可。
Content type
Image
Digest
Size
57.1 MB
Last updated
about 5 years ago
docker pull ykxvk8yl5l/web3