Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update #196

Merged
merged 4 commits into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN pipenv install
RUN sed -i '[email protected]@mirrors.aliyun.com@g' /etc/apt/sources.list \
&& sed -i '[email protected]@mirrors.aliyun.com@g' /etc/apt/sources.list

RUN apt-get update && apt get install -y cron
RUN apt-get update && apt-get install -y cron

ARG INSTALL_CHROMIUM=false

Expand Down
13 changes: 12 additions & 1 deletion docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,20 @@ pipenv run ui

### 方式三:Docker 更新

- requests:轻量级,性能要求低,更新速度快,成功率较低
- driver:占用大,性能要求较高,更新速度慢,稳定性、成功率高

```bash
1. 拉取镜像:docker pull guovern/tv:latest
1. 拉取镜像:

requests版本:
docker pull guovern/tv-requests:latest

driver版本:
docker pull guovern/tv-driver:latest

2. 运行容器:docker run -d -p 8000:8000 tv

3. 访问(域名:8000)查看更新结果
```

Expand Down
15 changes: 13 additions & 2 deletions docs/tutorial_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,21 @@ pipenv run ui

### Method 3: Docker Update

- requests: lightweight, low performance requirements, fast update speed, lower success rate
- driver: large footprint, higher performance requirements, slow update speed, high stability and success rate

```bash
1. Pull the image: docker pull guovern/tv:latest
1. Pull the image:

requests version:
docker pull guovern/tv-requests:latest

driver version:
docker pull guovern/tv-driver:latest

2. Run the container: docker run -d -p 8000:8000 tv
3. Access (domain:8000) to view the update results

3. Access (domain:8000) to check the update results
```

#### Note: Link to the result file after updates of methods one to three: http://local ip:8000
Expand Down
Loading