update deploy doc (#5145)

This commit is contained in:
Archer
2025-07-03 16:56:07 +08:00
committed by GitHub
parent 8d8b062e6b
commit 0719d56bcc
7 changed files with 24 additions and 24 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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 >}}

View File

@@ -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