mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-16 08:01:18 +00:00
update deploy doc (#5145)
This commit is contained in:
@@ -226,16 +226,16 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- FASTGPT_ENDPOINT=http://fastgpt:3000
|
- FASTGPT_ENDPOINT=http://fastgpt:3000
|
||||||
fastgpt-plugin:
|
fastgpt-plugin:
|
||||||
image: ghcr.io/labring/fastgpt-plugin:v0.1.0 # git
|
image: ghcr.io/labring/fastgpt-plugin:v0.1.1 # git
|
||||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.0 # 阿里云
|
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.1 # 阿里云
|
||||||
container_name: fastgpt-plugin
|
container_name: fastgpt-plugin
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- fastgpt
|
- fastgpt
|
||||||
environment:
|
environment:
|
||||||
- AUTH_TOKEN=xxxxxx # disable authentication token if you do not set this variable
|
- AUTH_TOKEN=xxxxxx # disable authentication token if you do not set this variable
|
||||||
# 改成 minio 公网地址
|
# 改成 minio 可访问地址,例如 https://192.168.2.2:9000
|
||||||
- MINIO_CUSTOM_ENDPOINT=
|
- MINIO_CUSTOM_ENDPOINT=https://192.168.2.2:9000
|
||||||
- MINIO_ENDPOINT=fastgpt-minio
|
- MINIO_ENDPOINT=fastgpt-minio
|
||||||
- MINIO_PORT=9000
|
- MINIO_PORT=9000
|
||||||
- MINIO_USE_SSL=false
|
- MINIO_USE_SSL=false
|
||||||
|
@@ -200,16 +200,16 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- FASTGPT_ENDPOINT=http://fastgpt:3000
|
- FASTGPT_ENDPOINT=http://fastgpt:3000
|
||||||
fastgpt-plugin:
|
fastgpt-plugin:
|
||||||
image: ghcr.io/labring/fastgpt-plugin:v0.1.0 # git
|
image: ghcr.io/labring/fastgpt-plugin:v0.1.1 # git
|
||||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.0 # 阿里云
|
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.1 # 阿里云
|
||||||
container_name: fastgpt-plugin
|
container_name: fastgpt-plugin
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- fastgpt
|
- fastgpt
|
||||||
environment:
|
environment:
|
||||||
- AUTH_TOKEN=xxxxxx # disable authentication token if you do not set this variable
|
- AUTH_TOKEN=xxxxxx # disable authentication token if you do not set this variable
|
||||||
# 改成 minio 公网地址
|
# 改成 minio 可访问地址,例如 https://192.168.2.2:9000
|
||||||
- MINIO_CUSTOM_ENDPOINT=
|
- MINIO_CUSTOM_ENDPOINT=https://192.168.2.2:9000
|
||||||
- MINIO_ENDPOINT=fastgpt-minio
|
- MINIO_ENDPOINT=fastgpt-minio
|
||||||
- MINIO_PORT=9000
|
- MINIO_PORT=9000
|
||||||
- MINIO_USE_SSL=false
|
- MINIO_USE_SSL=false
|
||||||
|
@@ -186,16 +186,16 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- FASTGPT_ENDPOINT=http://fastgpt:3000
|
- FASTGPT_ENDPOINT=http://fastgpt:3000
|
||||||
fastgpt-plugin:
|
fastgpt-plugin:
|
||||||
image: ghcr.io/labring/fastgpt-plugin:v0.1.0 # git
|
image: ghcr.io/labring/fastgpt-plugin:v0.1.1 # git
|
||||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.0 # 阿里云
|
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.1 # 阿里云
|
||||||
container_name: fastgpt-plugin
|
container_name: fastgpt-plugin
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- fastgpt
|
- fastgpt
|
||||||
environment:
|
environment:
|
||||||
- AUTH_TOKEN=xxxxxx # disable authentication token if you do not set this variable
|
- AUTH_TOKEN=xxxxxx # disable authentication token if you do not set this variable
|
||||||
# 改成 minio 公网地址
|
# 改成 minio 可访问地址,例如 https://192.168.2.2:9000
|
||||||
- MINIO_CUSTOM_ENDPOINT=
|
- MINIO_CUSTOM_ENDPOINT=https://192.168.2.2:9000
|
||||||
- MINIO_ENDPOINT=fastgpt-minio
|
- MINIO_ENDPOINT=fastgpt-minio
|
||||||
- MINIO_PORT=9000
|
- MINIO_PORT=9000
|
||||||
- MINIO_USE_SSL=false
|
- MINIO_USE_SSL=false
|
||||||
|
@@ -168,16 +168,16 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- FASTGPT_ENDPOINT=http://fastgpt:3000
|
- FASTGPT_ENDPOINT=http://fastgpt:3000
|
||||||
fastgpt-plugin:
|
fastgpt-plugin:
|
||||||
image: ghcr.io/labring/fastgpt-plugin:v0.1.0 # git
|
image: ghcr.io/labring/fastgpt-plugin:v0.1.1 # git
|
||||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.0 # 阿里云
|
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.1 # 阿里云
|
||||||
container_name: fastgpt-plugin
|
container_name: fastgpt-plugin
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- fastgpt
|
- fastgpt
|
||||||
environment:
|
environment:
|
||||||
- AUTH_TOKEN=xxxxxx # disable authentication token if you do not set this variable
|
- AUTH_TOKEN=xxxxxx # disable authentication token if you do not set this variable
|
||||||
# 改成 minio 公网地址
|
# 改成 minio 可访问地址,例如 https://192.168.2.2:9000
|
||||||
- MINIO_CUSTOM_ENDPOINT=
|
- MINIO_CUSTOM_ENDPOINT=https://192.168.2.2:9000
|
||||||
- MINIO_ENDPOINT=fastgpt-minio
|
- MINIO_ENDPOINT=fastgpt-minio
|
||||||
- MINIO_PORT=9000
|
- MINIO_PORT=9000
|
||||||
- MINIO_USE_SSL=false
|
- MINIO_USE_SSL=false
|
||||||
|
@@ -169,16 +169,16 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- FASTGPT_ENDPOINT=http://fastgpt:3000
|
- FASTGPT_ENDPOINT=http://fastgpt:3000
|
||||||
fastgpt-plugin:
|
fastgpt-plugin:
|
||||||
image: ghcr.io/labring/fastgpt-plugin:v0.1.0 # git
|
image: ghcr.io/labring/fastgpt-plugin:v0.1.1 # git
|
||||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.0 # 阿里云
|
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.1 # 阿里云
|
||||||
container_name: fastgpt-plugin
|
container_name: fastgpt-plugin
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- fastgpt
|
- fastgpt
|
||||||
environment:
|
environment:
|
||||||
- AUTH_TOKEN=xxxxxx # disable authentication token if you do not set this variable
|
- AUTH_TOKEN=xxxxxx # disable authentication token if you do not set this variable
|
||||||
# 改成 minio 公网地址
|
# 改成 minio 可访问地址,例如 https://192.168.2.2:9000
|
||||||
- MINIO_CUSTOM_ENDPOINT=
|
- MINIO_CUSTOM_ENDPOINT=https://192.168.2.2:9000
|
||||||
- MINIO_ENDPOINT=fastgpt-minio
|
- MINIO_ENDPOINT=fastgpt-minio
|
||||||
- MINIO_PORT=9000
|
- MINIO_PORT=9000
|
||||||
- MINIO_USE_SSL=false
|
- MINIO_USE_SSL=false
|
||||||
|
@@ -169,8 +169,7 @@ DEFAULT_ROOT_PSW=root 用户密码,每次重启root 都会修改成这个密
|
|||||||
AES256_SECRET_KEY=密钥加密 key,尽量取复杂密钥,一旦使用后,不能随便修改,否则会导致系统加密的数据无法正常解密
|
AES256_SECRET_KEY=密钥加密 key,尽量取复杂密钥,一旦使用后,不能随便修改,否则会导致系统加密的数据无法正常解密
|
||||||
|
|
||||||
# fastgpt-plugin容器
|
# fastgpt-plugin容器
|
||||||
MINIO_CUSTOM_ENDPOINT=http://minio.xxx.com 公网地址,用于给系统工具提供文件存储。填写例如 http://minio.xxx.com 或者 http://<ip>:<port>
|
MINIO_CUSTOM_ENDPOINT=http://minio.xxx.com 用户可访问的地址,用于给系统工具提供文件存储。填写例如 http://minio.xxx.com 或者 http://<ip>:<port>
|
||||||
MINIO_ENDPOINT=fastgpt-minio 这里填写的是 docker-compose.yml 中 fastgpt-minio 的服务名,因为这样 docker 的网络会解析到 minio 的地址
|
|
||||||
```
|
```
|
||||||
|
|
||||||
{{< /markdownify >}}
|
{{< /markdownify >}}
|
||||||
|
@@ -13,7 +13,7 @@ weight: 785
|
|||||||
|
|
||||||
- 参考最新的[docker-compose.yml](https://github.com/labring/FastGPT/blob/main/deploy/docker/docker-compose-pgvector.yml)文件,加入`fastgpt-plugin`和`minio`服务。
|
- 参考最新的[docker-compose.yml](https://github.com/labring/FastGPT/blob/main/deploy/docker/docker-compose-pgvector.yml)文件,加入`fastgpt-plugin`和`minio`服务。
|
||||||
- 修改`fastgpt-plugin`环境变量`AUTH_TOKEN`为较复杂的值。
|
- 修改`fastgpt-plugin`环境变量`AUTH_TOKEN`为较复杂的值。
|
||||||
- 修改`fastgpt-plugin`环境变量`MINIO_HOST`为`ip:9000` 或相关域名,要求公网可访问。
|
- 修改`fastgpt-plugin`环境变量`MINIO_CUSTOM_ENDPOINT`为`http://ip:port` 或相关域名,要求fastgpt 用户可访问。
|
||||||
- 更新`fastgpt`和`fastgpt-pro`(商业版)容器的环境变量:
|
- 更新`fastgpt`和`fastgpt-pro`(商业版)容器的环境变量:
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -38,7 +38,8 @@ AUTH_TOKEN=鉴权 token
|
|||||||
LOG_LEVEL=info
|
LOG_LEVEL=info
|
||||||
|
|
||||||
# S3 配置
|
# S3 配置
|
||||||
MINIO_HOST=External
|
MINIO_CUSTOM_ENDPOINT=External
|
||||||
|
MINIO_ENDPOINT=Internal地址
|
||||||
MINIO_PORT=443
|
MINIO_PORT=443
|
||||||
MINIO_USE_SSL=true
|
MINIO_USE_SSL=true
|
||||||
MINIO_ACCESS_KEY=Access Key
|
MINIO_ACCESS_KEY=Access Key
|
||||||
|
Reference in New Issue
Block a user