修改说明,将统一制作多平台标签,因此无需再指定arm标签。

This commit is contained in:
anonymous 2021-09-04 17:44:45 +08:00
parent 9f158d44b3
commit bba5fb5e6f
2 changed files with 12 additions and 10 deletions

View File

@ -6,24 +6,24 @@
```
docker run -d \
--name IYUUPlus \
-e cron='10 */10 * * *' \
-e CRON_UPDATE='23 3-23/6 * * *' `# 更新脚本的cron请务必修改否则无法更新` \
-v /volume1/IYUU/db:/IYUU/db \
-p 8787:8787 \
--restart=always \
iyuucn/iyuuplus:arm64v8
iyuucn/iyuuplus
```
#### 小钢炮方法:
```
docker run -d \
--name IYUUPlus \
-e CRON_UPDATE='23 3-23/6 * * *' `# 更新脚本的cron请务必修改否则无法更新` \
-e cron='10 */10 * * *' \
-v /volume1/IYUU/db:/IYUU/db \
-v /var/lib/transmission/torrents:/torrents \
-v /var/lib/qbittorrent/.local/share/data/qBittorrent/BT_backup:/BT_backup \
-p 8787:8787 \
--restart always \
iyuucn/iyuuplus:arm64v8
iyuucn/iyuuplus
```
#### AMD64平台MAC OS、台式、服务器、NAS等
@ -31,11 +31,11 @@ iyuucn/iyuuplus:arm64v8
```
docker run -d \
--name IYUUPlus \
-e cron='10 */10 * * *' \
-e CRON_UPDATE='23 3-23/6 * * *' `# 更新脚本的cron请务必修改否则无法更新` \
-v /volume1/IYUU/db:/IYUU/db \
-p 8787:8787 \
--restart=always \
iyuucn/iyuuplus:latest
iyuucn/iyuuplus
```
@ -79,7 +79,7 @@ docker rm IYUUPlus
### 5.删除镜像
```
docker rmi iyuucn/IYUUPlus:arm64v8
docker rmi iyuucn/IYUUPlus
```

View File

@ -2,9 +2,11 @@
cd /IYUU
if [[ ! -d /IYUU/.git ]]; then
#git clone https://github.com/ledccn/IYUUPlus.git /IYUU
git clone https://gitee.com/ledc/iyuuplus.git /IYUU
if [[ ! -d /IYUU/.git || ! -f /IYUU/.env ]]; then
#git clone https://github.com/ledccn/IYUUPlus.git /tmp/IYUU
git clone https://gitee.com/ledc/iyuuplus.git /tmp/IYUU
find /tmp/IYUU -mindepth 1 -maxdepth 1 | xargs -I {} cp -r {} /IYUU
rm -rf /tmp/IYUU
else
git fetch --all
git reset --hard origin/master