mirror of
https://github.com/ledccn/IYUUPlus.git
synced 2024-09-20 15:15:29 +00:00
修改说明,将统一制作多平台标签,因此无需再指定arm标签。
This commit is contained in:
parent
9f158d44b3
commit
bba5fb5e6f
|
@ -6,24 +6,24 @@
|
||||||
```
|
```
|
||||||
docker run -d \
|
docker run -d \
|
||||||
--name IYUUPlus \
|
--name IYUUPlus \
|
||||||
-e cron='10 */10 * * *' \
|
-e CRON_UPDATE='23 3-23/6 * * *' `# 更新脚本的cron,请务必修改,否则无法更新` \
|
||||||
-v /volume1/IYUU/db:/IYUU/db \
|
-v /volume1/IYUU/db:/IYUU/db \
|
||||||
-p 8787:8787 \
|
-p 8787:8787 \
|
||||||
--restart=always \
|
--restart=always \
|
||||||
iyuucn/iyuuplus:arm64v8
|
iyuucn/iyuuplus
|
||||||
```
|
```
|
||||||
#### 小钢炮方法:
|
#### 小钢炮方法:
|
||||||
|
|
||||||
```
|
```
|
||||||
docker run -d \
|
docker run -d \
|
||||||
--name IYUUPlus \
|
-e CRON_UPDATE='23 3-23/6 * * *' `# 更新脚本的cron,请务必修改,否则无法更新` \
|
||||||
-e cron='10 */10 * * *' \
|
-e cron='10 */10 * * *' \
|
||||||
-v /volume1/IYUU/db:/IYUU/db \
|
-v /volume1/IYUU/db:/IYUU/db \
|
||||||
-v /var/lib/transmission/torrents:/torrents \
|
-v /var/lib/transmission/torrents:/torrents \
|
||||||
-v /var/lib/qbittorrent/.local/share/data/qBittorrent/BT_backup:/BT_backup \
|
-v /var/lib/qbittorrent/.local/share/data/qBittorrent/BT_backup:/BT_backup \
|
||||||
-p 8787:8787 \
|
-p 8787:8787 \
|
||||||
--restart always \
|
--restart always \
|
||||||
iyuucn/iyuuplus:arm64v8
|
iyuucn/iyuuplus
|
||||||
```
|
```
|
||||||
|
|
||||||
#### AMD64平台(MAC OS、台式、服务器、NAS等)
|
#### AMD64平台(MAC OS、台式、服务器、NAS等)
|
||||||
|
@ -31,11 +31,11 @@ iyuucn/iyuuplus:arm64v8
|
||||||
```
|
```
|
||||||
docker run -d \
|
docker run -d \
|
||||||
--name IYUUPlus \
|
--name IYUUPlus \
|
||||||
-e cron='10 */10 * * *' \
|
-e CRON_UPDATE='23 3-23/6 * * *' `# 更新脚本的cron,请务必修改,否则无法更新` \
|
||||||
-v /volume1/IYUU/db:/IYUU/db \
|
-v /volume1/IYUU/db:/IYUU/db \
|
||||||
-p 8787:8787 \
|
-p 8787:8787 \
|
||||||
--restart=always \
|
--restart=always \
|
||||||
iyuucn/iyuuplus:latest
|
iyuucn/iyuuplus
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ docker rm IYUUPlus
|
||||||
|
|
||||||
### 5.删除镜像
|
### 5.删除镜像
|
||||||
```
|
```
|
||||||
docker rmi iyuucn/IYUUPlus:arm64v8
|
docker rmi iyuucn/IYUUPlus
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,11 @@
|
||||||
|
|
||||||
cd /IYUU
|
cd /IYUU
|
||||||
|
|
||||||
if [[ ! -d /IYUU/.git ]]; then
|
if [[ ! -d /IYUU/.git || ! -f /IYUU/.env ]]; then
|
||||||
#git clone https://github.com/ledccn/IYUUPlus.git /IYUU
|
#git clone https://github.com/ledccn/IYUUPlus.git /tmp/IYUU
|
||||||
git clone https://gitee.com/ledc/iyuuplus.git /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
|
else
|
||||||
git fetch --all
|
git fetch --all
|
||||||
git reset --hard origin/master
|
git reset --hard origin/master
|
||||||
|
|
Loading…
Reference in New Issue
Block a user