Skip to content

Commit

Permalink
add volcengine-tos env docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yaoice committed Sep 9, 2024
1 parent 0e43a20 commit c2ad2c0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions en/getting-started/install-self-hosted/environments.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,10 @@ Used to store uploaded data set files, team/tenant encryption keys, and other fi

Huawei OBS object storage, if this option is selected, the following HUAWEI_OBS\_ prefixed configurations need to be set.

- volcengine-tos

Volcengine TOS object storage, if this option is selected, the following VOLCENGINE_TOS\_ prefixed configurations need to be set.

- STORAGE_LOCAL_PATH

Default is storage, that is, it is stored in the storage directory of the current directory.
Expand All @@ -255,6 +259,11 @@ Used to store uploaded data set files, team/tenant encryption keys, and other fi
- HUAWEI_OBS_SECRET_KEY: your-secret-key eg, 'difyai'
- HUAWEI_OBS_ACCESS_KEY: your-access-key eg, 'difyai'
- HUAWEI_OBS_SERVER: your-server-url # reference: https://support.huaweicloud.com/sdk-python-devg-obs/obs_22_0500.html
- VOLCENGINE_TOS_BUCKET_NAME: your-bucket-name eg, 'difyai'
- VOLCENGINE_TOS_SECRET_KEY: your-secret-key eg, 'difyai'
- VOLCENGINE_TOS_ACCESS_KEY: your-access-key eg, 'difyai'
- VOLCENGINE_TOS_REGION: your-region eg, 'cn-guangzhou' # reference: https://www.volcengine.com/docs/6349/107356
- VOLCENGINE_TOS_ENDPOINT: your-endpoint eg, 'tos-cn-guangzhou.volces.com' # reference: https://www.volcengine.com/docs/6349/107356

#### Vector Database Configuration

Expand Down
8 changes: 8 additions & 0 deletions zh_CN/getting-started/install-self-hosted/environments.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@ Flask 调试模式,开启可在接口输出 trace 信息,方便调试。
* huawei-obs

Huawei OBS 存储,若选择此项则需要设置下方 HUAWEI\_OBS\_ 开头的配置。
* volcengine-tos

Volcengine TOS 存储,若选择此项则需要设置下方 VOLCENGINE\_TOS\_ 开头的配置。
* STORAGE\_LOCAL\_PATH

默认为 storage,即存储在当前目录的 storage 目录下。若使用 docker 或 docker-compose 进行部署,请务必将两个容器中 `/app/api/storage` 目录挂载到同一个本机目录,否则可能会出现文件找不到的报错。
Expand All @@ -230,6 +233,11 @@ Flask 调试模式,开启可在接口输出 trace 信息,方便调试。
* HUAWEI\_OBS\_SECRET\_KEY: your-secret-key 如 'difyai'
* HUAWEI\_OBS\_ACCESS\_KEY: your-access-key 如 'difyai'
* HUAWEI\_OBS\_SERVER: your-server-url # 参考文档: https://support.huaweicloud.com/sdk-python-devg-obs/obs_22_0500.html
- VOLCENGINE_TOS_BUCKET_NAME: your-bucket-name 如 'difyai'
- VOLCENGINE_TOS_SECRET_KEY: your-secret-key 如 'difyai'
- VOLCENGINE_TOS_ACCESS_KEY: your-access-key 如 'difyai'
- VOLCENGINE_TOS_REGION: your-region 如 'cn-guangzhou' # 参考文档: https://www.volcengine.com/docs/6349/107356
- VOLCENGINE_TOS_ENDPOINT: your-endpoint 如 'tos-cn-guangzhou.volces.com' # 参考文档: https://www.volcengine.com/docs/6349/107356

#### 向量数据库配置

Expand Down

0 comments on commit c2ad2c0

Please sign in to comment.