Readme.md新增Docker使用方法介绍

This commit is contained in:
iyuu.cn 2020-07-31 17:08:53 +08:00
parent c79d5e4592
commit 4d86a9cb9f
5 changed files with 15 additions and 8 deletions

View File

@ -1,6 +1,7 @@
FROM swoft/alphp:base
#FROM swoft/alphp:cli
#FROM alpine:latest #FROM alpine:latest
FROM alpine:3.8
#FROM swoft/alphp:base
#FROM swoft/alphp:cli
LABEL maintainer="david <367013672@qq.com>" version="1.0" LABEL maintainer="david <367013672@qq.com>" version="1.0"

View File

@ -168,7 +168,7 @@ class qBittorrent extends AbstractClient
$torrents = json_decode($this->torrentList()); $torrents = json_decode($this->torrentList());
$response = ''; $response = '';
foreach ($torrents as $torrent) { foreach ($torrents as $torrent) {
$response .= $this->torrentDelete($torrent->hash, $deleteFiles); $response .= $this->delete($torrent->hash, $deleteFiles);
} }
return $response; return $response;

View File

@ -1,6 +1,8 @@
FROM swoft/alphp:base
#FROM swoft/alphp:cli
#FROM alpine:latest #FROM alpine:latest
#FROM alpine:3.12
FROM alpine:3.8
#FROM swoft/alphp:base
#FROM swoft/alphp:cli
LABEL maintainer="david <367013672@qq.com>" version="1.0" LABEL maintainer="david <367013672@qq.com>" version="1.0"
@ -44,7 +46,7 @@ RUN set -ex \
# php7-common \ # php7-common \
# php7-bcmath \ # php7-bcmath \
php7-curl \ php7-curl \
# php7-ctype \ # php7-ctype \
php7-dom \ php7-dom \
# php7-fileinfo \ # php7-fileinfo \
# php7-gettext \ # php7-gettext \
@ -61,6 +63,7 @@ RUN set -ex \
# php7-pdo_mysql \ # php7-pdo_mysql \
# php7-pdo_sqlite \ # php7-pdo_sqlite \
# php7-phar \ # php7-phar \
# php7-pcntl \
# php7-posix \ # php7-posix \
# php7-redis \ # php7-redis \
php7-simplexml \ php7-simplexml \

View File

@ -1,4 +1,3 @@
# FROM arm64v8/alpine
# FROM arm64v8/alpine:latest # FROM arm64v8/alpine:latest
FROM arm64v8/alpine:3.12 FROM arm64v8/alpine:3.12

View File

@ -12,7 +12,7 @@
![stars](https://img.shields.io/github/stars/ledccn/IYUUAutoReseed)![forks](https://img.shields.io/github/forks/ledccn/IYUUAutoReseed)![release](https://img.shields.io/github/release/ledccn/IYUUAutoReseed.svg) ![stars](https://img.shields.io/github/stars/ledccn/IYUUAutoReseed)![forks](https://img.shields.io/github/forks/ledccn/IYUUAutoReseed)![release](https://img.shields.io/github/release/ledccn/IYUUAutoReseed.svg)
## 获取脚本,种方式皆可 ## 获取脚本,种方式皆可
1. 通过git命令安装 1. 通过git命令安装
@ -25,6 +25,10 @@
3. 直接下载zip源码包 3. 直接下载zip源码包
`https://github.com/ledccn/IYUUAutoReseed/archive/master.zip` `https://github.com/ledccn/IYUUAutoReseed/archive/master.zip`
4. Docker使用
[https://gitee.com/ledc/IYUUAutoReseed/tree/master/docker](https://gitee.com/ledc/IYUUAutoReseed/tree/master/docker)
## 功能 ## 功能