Skip to content

Commit

Permalink
docs (#3510)
Browse files Browse the repository at this point in the history
  • Loading branch information
c121914yu committed Jul 16, 2023
1 parent d3e3456 commit 4984d42
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 10 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/4.0/i18n/zh-Hans/examples/ai-applications/images/fast4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/4.0/i18n/zh-Hans/examples/ai-applications/images/fast7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/4.0/i18n/zh-Hans/examples/ai-applications/images/fast8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/4.0/i18n/zh-Hans/examples/ai-applications/images/fast9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -100,30 +100,25 @@ Sealos 提供了 **应用管理** 工具,可以快速的部署单镜像服务
| 外网访问 | 打开「应用管理」 自动分配了域名,可以直接使用,也可以自定义域名。 |
| 环境变量 | 参考 [FastGpt docker-compose.yaml](https://github.com/c121914yu/FastGPT/blob/main/docs/deploy/fastgpt/docker-compose.yml)。数据库部分变量,可以直接复制 [1.4] 里的内容。 |

下面是一份去掉注释后的环境变量,可以直接复制修改使用。
下面是一份去掉注释后的环境变量,可以直接复制修改使用。 注意
1. PG_DB_NAME 必须为 postgres,不可改。
2. 如果需要多 key 管理,需要安装 [oneapi](https://github.com/labring/FastGPT/blob/main/docs/deploy/one-api/sealos.md),并填写 ONEAPI_URL 和 ONEAPI_KEY 参数。如果不需要,则需要去掉这两个参数。

```
QA_MAX_PROCESS=20
VECTOR_MAX_PROCESS=20
[email protected]
MAILE_CODE=mailcode
aliAccessKeyId=keyid
aliAccessKeySecret=secret
aliSignName=signname
aliTemplateCode=SMS_111
TOKEN_KEY=tokenkey
ROOT_KEY=rootkey
SENSITIVE_CHECK=1
MONGODB_URI=mongodb://root:[email protected]:27017
MONGODB_NAME=fastgpt
PG_USER=postgres
PG_PASSWORD=m8tkt57w
PG_HOST=fastgpt-pg-postgresql.ns-hti44k5d.svc
PG_PORT=5432
PG_DB_NAME=postgres
ONEAPI_URL=https://xxxx.cloud.sealos.io/v1
ONEAPI_KEY=sk-xxxxxx
OPENAIKEY=sk-xxx
OPENAI_TRAINING_KEY=sk-xxx
GPT4KEY=sk-xxx
```

![](./images/fast15.png)
Expand Down

0 comments on commit 4984d42

Please sign in to comment.