docs: 增加了部署页面的内容 (#11796)

* Update README.md

* Update README.md

* Update README.md
This commit is contained in:
Jonathan Zhang 2023-02-07 20:03:31 +08:00 committed by GitHub
parent 6073a332ec
commit 53d7503038
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -20,6 +20,7 @@ Deploy for public access may require:
3. [Redis](https://redis.io/download)
4. [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs)
5. [Google App Engine](https://cloud.google.com/appengine/)
6. [Fly.io](https://fly.io/)
## Docker Image
@ -319,10 +320,11 @@ Heroku [no longer](https://blog.heroku.com/next-chapter) offers free product pla
$ cd RSSHub
```
3. [Sign up for Fly.io](https://fly.io/app/sign-up) and install the [`flyctl` CLI](https://fly.io/docs/hands-on/install-flyctl/).
4. Run `flyctl launch` and choose a unique name.
4. Run `flyctl launch` and choose a unique name and region to deploy.
5. Use `flyctl secrets set KEY=VALUE` to [configure specific routes](#configuration-route-specific-configurations).
6. [Set up automatic deployment via GitHub Actions](https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/)
7. Install the [Pull](https://github.com/apps/pull) GitHub app to keep your fork synchronized with upstream.
8. (Optional) Point your own domain to the IPv4 and IPv6 addresses provided by fly.io, then go to Certificate page and add the domain.
### Configure built-in Upstash Redis as cache

View File

@ -20,6 +20,7 @@ sidebar: auto
3. [Redis](https://redis.io/download)
4. [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs)
5. [Google App Engine](https://cloud.google.com/appengine/)
6. [Fly.io](https://fly.io/)
## Docker 镜像
@ -321,10 +322,11 @@ Heroku [不再](https://blog.heroku.com/next-chapter) 提供免费服务。
$ cd RSSHub
```
3. 前往 [Fly.io 完成注册](https://fly.io/app/sign-up),并安装 [`flyctl` CLI](https://fly.io/docs/hands-on/install-flyctl/)。
4. 运行 `flyctl launch`, 并选择一个唯一的名称。
4. 运行 `flyctl launch`, 并选择一个唯一的名称和实例地区
5. 使用 `flyctl secrets set KEY=VALUE` [对部分模块进行配置](#pei-zhi-bu-fen-rss-mo-kuai-pei-zhi)。
6. [配置通过 GitHub Actions 自动部署](https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/)
7. 安装 [Pull](https://github.com/apps/pull) 应用,定期将 RSSHub 改动自动同步至你的分叉。
8. (可选)将自己的域名指向 fly.io 提供的 IPv4 和 IPv6 地址,并在 Certificate 页面添加自有域名
### 配置内置的 Upstash Redis 缓存