合并hxsf提交,修改buile.sh

This commit is contained in:
iyuu.cn
2020-07-24 13:06:31 +08:00
parent 63b2bfc2bc
commit 15f9905004
5 changed files with 2 additions and 201 deletions

View File

@ -6,4 +6,4 @@ rm ./IYUUAutoReseed.zip
cd /root/IYUUAutoReseed/docker
chmod +x ./*.sh
docker build -t iyuu:latest .
docker run -it -v /root/IYUUAutoReseed:/var/www -p 8510:9000 --network bridge --name IYUUAutoReseed --restart always -d iyuu:latest
docker run -it -v /root/IYUUAutoReseed:/IYUU -p 8510:9000 --network bridge --name IYUUAutoReseed --restart always -d iyuu:latest

View File

@ -1,11 +0,0 @@
version: "2.3"
services:
app:
image: hxsf/iyuuautoreseed
network_mode: host
environment:
- cron=0 * * * *
volumes:
- ./config:/IYUU/config
- ./torrent:/IYUU/torrent
restart: always

View File

@ -4,5 +4,5 @@ git clone https://gitee.com/ledc/IYUUAutoReseed.git
cd /root/IYUUAutoReseed/docker
chmod +x ./*.sh
docker build -t iyuu:latest .
docker run -it -v /root/IYUUAutoReseed:/var/www -v /var/lib/qbittorrent/.local/share/data/qBittorrent/BT_backup:/BT_backup -p 8510:9000 --network bridge --name IYUUAutoReseed --restart always -d iyuu:latest
docker run -it -v /root/IYUUAutoReseed:/IYUU -v /var/lib/qbittorrent/.local/share/data/qBittorrent/BT_backup:/BT_backup -p 8510:9000 --network bridge --name IYUUAutoReseed --restart always -d iyuu:latest
./iyuu.sh