Commit b59f2ccf by Archer Committed by GitHub

fix: loginout (#5796)

* fix: variables refresh

* fix: workflow start check

* doc

* fix: loginout

* fix: login
parent ca274feb
{ {
"tags": { "tags": {
"fastgpt": "v4.13.1", "fastgpt": "v4.13.2",
"fastgpt-sandbox": "v4.13.1", "fastgpt-sandbox": "v4.13.2",
"fastgpt-mcp_server": "v4.13.1", "fastgpt-mcp_server": "v4.13.2",
"fastgpt-plugin": "v0.2.2", "fastgpt-plugin": "v0.2.4",
"aiproxy": "v0.3.2", "aiproxy": "v0.3.2",
"aiproxy-pg": "0.8.0-pg15", "aiproxy-pg": "0.8.0-pg15",
"mongo": "5.0.18", "mongo": "5.0.18",
......
...@@ -49,7 +49,19 @@ services: ...@@ -49,7 +49,19 @@ services:
volumes: volumes:
- ./mongo/data:/data/db - ./mongo/data:/data/db
healthcheck: healthcheck:
test: ['CMD', 'mongo', '-u', 'myusername', '-p', 'mypassword', '--authenticationDatabase', 'admin', '--eval', "db.adminCommand('ping')"] test:
[
'CMD',
'mongo',
'-u',
'myusername',
'-p',
'mypassword',
'--authenticationDatabase',
'admin',
'--eval',
"db.adminCommand('ping')"
]
interval: 10s interval: 10s
timeout: 5s timeout: 5s
retries: 5 retries: 5
...@@ -124,7 +136,7 @@ services: ...@@ -124,7 +136,7 @@ services:
retries: 3 retries: 3
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.13.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.13.2
ports: ports:
- 3002:3000 - 3002:3000
networks: networks:
...@@ -132,7 +144,7 @@ services: ...@@ -132,7 +144,7 @@ services:
restart: always restart: always
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.13.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.13.2
ports: ports:
- 3005:3000 - 3005:3000
networks: networks:
...@@ -141,7 +153,7 @@ services: ...@@ -141,7 +153,7 @@ services:
environment: environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin: fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.2.2 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.2.4
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
ports: ports:
...@@ -156,9 +168,8 @@ services: ...@@ -156,9 +168,8 @@ services:
- S3_ACCESS_KEY=minioadmin - S3_ACCESS_KEY=minioadmin
- S3_SECRET_KEY=minioadmin - S3_SECRET_KEY=minioadmin
- S3_BUCKET=fastgpt-plugins - S3_BUCKET=fastgpt-plugins
- S3_TOOL_BUCKET=fastgpt-tool # 系统工具,创建的临时文件,存储的桶,要求公开读私有写。 - S3_PUBLIC_BUCKET=fastgpt-public # 系统工具,创建的临时文件,存储的桶,要求公开读私有写。
- S3_PLUGIN_BUCKET=fastgpt-plugin # 系统插件热安装文件的桶,私有读写。 - S3_PRIVATE_BUCKET=fastgpt-private # 系统插件热安装文件的桶,私有读写。
- RETENTION_DAYS=15 # 系统工具临时文件保存天数
- MONGODB_URI=mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin&directConnection=true - MONGODB_URI=mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin&directConnection=true
- REDIS_URL=redis://default:mypassword@redis:6379 - REDIS_URL=redis://default:mypassword@redis:6379
depends_on: depends_on:
......
...@@ -49,7 +49,19 @@ services: ...@@ -49,7 +49,19 @@ services:
volumes: volumes:
- ./mongo/data:/data/db - ./mongo/data:/data/db
healthcheck: healthcheck:
test: ['CMD', 'mongo', '-u', 'myusername', '-p', 'mypassword', '--authenticationDatabase', 'admin', '--eval', "db.adminCommand('ping')"] test:
[
'CMD',
'mongo',
'-u',
'myusername',
'-p',
'mypassword',
'--authenticationDatabase',
'admin',
'--eval',
"db.adminCommand('ping')"
]
interval: 10s interval: 10s
timeout: 5s timeout: 5s
retries: 5 retries: 5
...@@ -124,7 +136,7 @@ services: ...@@ -124,7 +136,7 @@ services:
retries: 3 retries: 3
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: ghcr.io/labring/fastgpt-sandbox:v4.13.1 image: ghcr.io/labring/fastgpt-sandbox:v4.13.2
ports: ports:
- 3002:3000 - 3002:3000
networks: networks:
...@@ -132,7 +144,7 @@ services: ...@@ -132,7 +144,7 @@ services:
restart: always restart: always
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.13.1 image: ghcr.io/labring/fastgpt-mcp_server:v4.13.2
ports: ports:
- 3005:3000 - 3005:3000
networks: networks:
...@@ -141,7 +153,7 @@ services: ...@@ -141,7 +153,7 @@ services:
environment: environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.2.2 image: ghcr.io/labring/fastgpt-plugin:v0.2.4
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
ports: ports:
...@@ -156,9 +168,8 @@ services: ...@@ -156,9 +168,8 @@ services:
- S3_ACCESS_KEY=minioadmin - S3_ACCESS_KEY=minioadmin
- S3_SECRET_KEY=minioadmin - S3_SECRET_KEY=minioadmin
- S3_BUCKET=fastgpt-plugins - S3_BUCKET=fastgpt-plugins
- S3_TOOL_BUCKET=fastgpt-tool # 系统工具,创建的临时文件,存储的桶,要求公开读私有写。 - S3_PUBLIC_BUCKET=fastgpt-public # 系统工具,创建的临时文件,存储的桶,要求公开读私有写。
- S3_PLUGIN_BUCKET=fastgpt-plugin # 系统插件热安装文件的桶,私有读写。 - S3_PRIVATE_BUCKET=fastgpt-private # 系统插件热安装文件的桶,私有读写。
- RETENTION_DAYS=15 # 系统工具临时文件保存天数
- MONGODB_URI=mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin&directConnection=true - MONGODB_URI=mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin&directConnection=true
- REDIS_URL=redis://default:mypassword@redis:6379 - REDIS_URL=redis://default:mypassword@redis:6379
depends_on: depends_on:
......
...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config ...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 30 DB_MAX_LINK: 30
REDIS_URL: redis://default:mypassword@redis:6379 REDIS_URL: redis://default:mypassword@redis:6379
S3_EXTERNAL_BASE_URL:
S3_ENDPOINT: fastgpt-minio S3_ENDPOINT: fastgpt-minio
S3_PORT: 9000 S3_PORT: 9000
S3_USE_SSL: false S3_USE_SSL: false
S3_ACCESS_KEY: minioadmin S3_ACCESS_KEY: minioadmin
S3_SECRET_KEY: minioadmin S3_SECRET_KEY: minioadmin
S3_PUBLIC_BUCKET: fastgpt-public # 公开读私有写桶
S3_PRIVATE_BUCKET: fastgpt-private # 私有读写桶
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config x-vec-config: &x-vec-config
...@@ -151,10 +154,27 @@ services: ...@@ -151,10 +154,27 @@ services:
start_period: 30s start_period: 30s
volumes: volumes:
- ./redis/data:/data - ./redis/data:/data
fastgpt-minio:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
fastgpt: fastgpt:
container_name: fastgpt container_name: fastgpt
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.13.1 # git image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.13.2 # git
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -202,33 +222,15 @@ services: ...@@ -202,33 +222,15 @@ services:
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10 SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-minio:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.13.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.13.2
networks: networks:
- fastgpt - fastgpt
restart: always restart: always
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.13.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.13.2
networks: networks:
- fastgpt - fastgpt
ports: ports:
...@@ -237,7 +239,7 @@ services: ...@@ -237,7 +239,7 @@ services:
environment: environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin: fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.2.2 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.2.4
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config ...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 30 DB_MAX_LINK: 30
REDIS_URL: redis://default:mypassword@redis:6379 REDIS_URL: redis://default:mypassword@redis:6379
S3_EXTERNAL_BASE_URL:
S3_ENDPOINT: fastgpt-minio S3_ENDPOINT: fastgpt-minio
S3_PORT: 9000 S3_PORT: 9000
S3_USE_SSL: false S3_USE_SSL: false
S3_ACCESS_KEY: minioadmin S3_ACCESS_KEY: minioadmin
S3_SECRET_KEY: minioadmin S3_SECRET_KEY: minioadmin
S3_PUBLIC_BUCKET: fastgpt-public # 公开读私有写桶
S3_PRIVATE_BUCKET: fastgpt-private # 私有读写桶
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config x-vec-config: &x-vec-config
...@@ -128,10 +131,27 @@ services: ...@@ -128,10 +131,27 @@ services:
start_period: 30s start_period: 30s
volumes: volumes:
- ./redis/data:/data - ./redis/data:/data
fastgpt-minio:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
fastgpt: fastgpt:
container_name: fastgpt container_name: fastgpt
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.13.1 # git image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.13.2 # git
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -179,33 +199,15 @@ services: ...@@ -179,33 +199,15 @@ services:
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10 SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-minio:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.13.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.13.2
networks: networks:
- fastgpt - fastgpt
restart: always restart: always
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.13.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.13.2
networks: networks:
- fastgpt - fastgpt
ports: ports:
...@@ -214,7 +216,7 @@ services: ...@@ -214,7 +216,7 @@ services:
environment: environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin: fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.2.2 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.2.4
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config ...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 30 DB_MAX_LINK: 30
REDIS_URL: redis://default:mypassword@redis:6379 REDIS_URL: redis://default:mypassword@redis:6379
S3_EXTERNAL_BASE_URL:
S3_ENDPOINT: fastgpt-minio S3_ENDPOINT: fastgpt-minio
S3_PORT: 9000 S3_PORT: 9000
S3_USE_SSL: false S3_USE_SSL: false
S3_ACCESS_KEY: minioadmin S3_ACCESS_KEY: minioadmin
S3_SECRET_KEY: minioadmin S3_SECRET_KEY: minioadmin
S3_PUBLIC_BUCKET: fastgpt-public # 公开读私有写桶
S3_PRIVATE_BUCKET: fastgpt-private # 私有读写桶
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config x-vec-config: &x-vec-config
...@@ -109,10 +112,27 @@ services: ...@@ -109,10 +112,27 @@ services:
start_period: 30s start_period: 30s
volumes: volumes:
- ./redis/data:/data - ./redis/data:/data
fastgpt-minio:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
fastgpt: fastgpt:
container_name: fastgpt container_name: fastgpt
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.13.1 # git image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.13.2 # git
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -160,33 +180,15 @@ services: ...@@ -160,33 +180,15 @@ services:
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10 SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-minio:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.13.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.13.2
networks: networks:
- fastgpt - fastgpt
restart: always restart: always
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.13.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.13.2
networks: networks:
- fastgpt - fastgpt
ports: ports:
...@@ -195,7 +197,7 @@ services: ...@@ -195,7 +197,7 @@ services:
environment: environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin: fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.2.2 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.2.4
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config ...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 30 DB_MAX_LINK: 30
REDIS_URL: redis://default:mypassword@redis:6379 REDIS_URL: redis://default:mypassword@redis:6379
S3_EXTERNAL_BASE_URL:
S3_ENDPOINT: fastgpt-minio S3_ENDPOINT: fastgpt-minio
S3_PORT: 9000 S3_PORT: 9000
S3_USE_SSL: false S3_USE_SSL: false
S3_ACCESS_KEY: minioadmin S3_ACCESS_KEY: minioadmin
S3_SECRET_KEY: minioadmin S3_SECRET_KEY: minioadmin
S3_PUBLIC_BUCKET: fastgpt-public # 公开读私有写桶
S3_PRIVATE_BUCKET: fastgpt-private # 私有读写桶
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config x-vec-config: &x-vec-config
...@@ -92,10 +95,27 @@ services: ...@@ -92,10 +95,27 @@ services:
start_period: 30s start_period: 30s
volumes: volumes:
- ./redis/data:/data - ./redis/data:/data
fastgpt-minio:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
fastgpt: fastgpt:
container_name: fastgpt container_name: fastgpt
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.13.1 # git image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.13.2 # git
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -143,33 +163,15 @@ services: ...@@ -143,33 +163,15 @@ services:
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10 SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-minio:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.13.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.13.2
networks: networks:
- fastgpt - fastgpt
restart: always restart: always
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.13.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.13.2
networks: networks:
- fastgpt - fastgpt
ports: ports:
...@@ -178,7 +180,7 @@ services: ...@@ -178,7 +180,7 @@ services:
environment: environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin: fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.2.2 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.2.4
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config ...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 30 DB_MAX_LINK: 30
REDIS_URL: redis://default:mypassword@redis:6379 REDIS_URL: redis://default:mypassword@redis:6379
S3_EXTERNAL_BASE_URL:
S3_ENDPOINT: fastgpt-minio S3_ENDPOINT: fastgpt-minio
S3_PORT: 9000 S3_PORT: 9000
S3_USE_SSL: false S3_USE_SSL: false
S3_ACCESS_KEY: minioadmin S3_ACCESS_KEY: minioadmin
S3_SECRET_KEY: minioadmin S3_SECRET_KEY: minioadmin
S3_PUBLIC_BUCKET: fastgpt-public # 公开读私有写桶
S3_PRIVATE_BUCKET: fastgpt-private # 私有读写桶
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config x-vec-config: &x-vec-config
...@@ -151,10 +154,27 @@ services: ...@@ -151,10 +154,27 @@ services:
start_period: 30s start_period: 30s
volumes: volumes:
- ./redis/data:/data - ./redis/data:/data
fastgpt-minio:
image: minio/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
fastgpt: fastgpt:
container_name: fastgpt container_name: fastgpt
image: ghcr.io/labring/fastgpt:v4.13.1 # git image: ghcr.io/labring/fastgpt:v4.13.2 # git
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -202,33 +222,15 @@ services: ...@@ -202,33 +222,15 @@ services:
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10 SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-minio:
image: minio/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: ghcr.io/labring/fastgpt-sandbox:v4.13.1 image: ghcr.io/labring/fastgpt-sandbox:v4.13.2
networks: networks:
- fastgpt - fastgpt
restart: always restart: always
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.13.1 image: ghcr.io/labring/fastgpt-mcp_server:v4.13.2
networks: networks:
- fastgpt - fastgpt
ports: ports:
...@@ -237,7 +239,7 @@ services: ...@@ -237,7 +239,7 @@ services:
environment: environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.2.2 image: ghcr.io/labring/fastgpt-plugin:v0.2.4
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config ...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 30 DB_MAX_LINK: 30
REDIS_URL: redis://default:mypassword@redis:6379 REDIS_URL: redis://default:mypassword@redis:6379
S3_EXTERNAL_BASE_URL:
S3_ENDPOINT: fastgpt-minio S3_ENDPOINT: fastgpt-minio
S3_PORT: 9000 S3_PORT: 9000
S3_USE_SSL: false S3_USE_SSL: false
S3_ACCESS_KEY: minioadmin S3_ACCESS_KEY: minioadmin
S3_SECRET_KEY: minioadmin S3_SECRET_KEY: minioadmin
S3_PUBLIC_BUCKET: fastgpt-public # 公开读私有写桶
S3_PRIVATE_BUCKET: fastgpt-private # 私有读写桶
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config x-vec-config: &x-vec-config
...@@ -128,10 +131,27 @@ services: ...@@ -128,10 +131,27 @@ services:
start_period: 30s start_period: 30s
volumes: volumes:
- ./redis/data:/data - ./redis/data:/data
fastgpt-minio:
image: minio/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
fastgpt: fastgpt:
container_name: fastgpt container_name: fastgpt
image: ghcr.io/labring/fastgpt:v4.13.1 # git image: ghcr.io/labring/fastgpt:v4.13.2 # git
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -179,33 +199,15 @@ services: ...@@ -179,33 +199,15 @@ services:
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10 SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-minio:
image: minio/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: ghcr.io/labring/fastgpt-sandbox:v4.13.1 image: ghcr.io/labring/fastgpt-sandbox:v4.13.2
networks: networks:
- fastgpt - fastgpt
restart: always restart: always
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.13.1 image: ghcr.io/labring/fastgpt-mcp_server:v4.13.2
networks: networks:
- fastgpt - fastgpt
ports: ports:
...@@ -214,7 +216,7 @@ services: ...@@ -214,7 +216,7 @@ services:
environment: environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.2.2 image: ghcr.io/labring/fastgpt-plugin:v0.2.4
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config ...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 30 DB_MAX_LINK: 30
REDIS_URL: redis://default:mypassword@redis:6379 REDIS_URL: redis://default:mypassword@redis:6379
S3_EXTERNAL_BASE_URL:
S3_ENDPOINT: fastgpt-minio S3_ENDPOINT: fastgpt-minio
S3_PORT: 9000 S3_PORT: 9000
S3_USE_SSL: false S3_USE_SSL: false
S3_ACCESS_KEY: minioadmin S3_ACCESS_KEY: minioadmin
S3_SECRET_KEY: minioadmin S3_SECRET_KEY: minioadmin
S3_PUBLIC_BUCKET: fastgpt-public # 公开读私有写桶
S3_PRIVATE_BUCKET: fastgpt-private # 私有读写桶
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config x-vec-config: &x-vec-config
...@@ -109,10 +112,27 @@ services: ...@@ -109,10 +112,27 @@ services:
start_period: 30s start_period: 30s
volumes: volumes:
- ./redis/data:/data - ./redis/data:/data
fastgpt-minio:
image: minio/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
fastgpt: fastgpt:
container_name: fastgpt container_name: fastgpt
image: ghcr.io/labring/fastgpt:v4.13.1 # git image: ghcr.io/labring/fastgpt:v4.13.2 # git
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -160,33 +180,15 @@ services: ...@@ -160,33 +180,15 @@ services:
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10 SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-minio:
image: minio/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: ghcr.io/labring/fastgpt-sandbox:v4.13.1 image: ghcr.io/labring/fastgpt-sandbox:v4.13.2
networks: networks:
- fastgpt - fastgpt
restart: always restart: always
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.13.1 image: ghcr.io/labring/fastgpt-mcp_server:v4.13.2
networks: networks:
- fastgpt - fastgpt
ports: ports:
...@@ -195,7 +197,7 @@ services: ...@@ -195,7 +197,7 @@ services:
environment: environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.2.2 image: ghcr.io/labring/fastgpt-plugin:v0.2.4
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config ...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 30 DB_MAX_LINK: 30
REDIS_URL: redis://default:mypassword@redis:6379 REDIS_URL: redis://default:mypassword@redis:6379
S3_EXTERNAL_BASE_URL:
S3_ENDPOINT: fastgpt-minio S3_ENDPOINT: fastgpt-minio
S3_PORT: 9000 S3_PORT: 9000
S3_USE_SSL: false S3_USE_SSL: false
S3_ACCESS_KEY: minioadmin S3_ACCESS_KEY: minioadmin
S3_SECRET_KEY: minioadmin S3_SECRET_KEY: minioadmin
S3_PUBLIC_BUCKET: fastgpt-public # 公开读私有写桶
S3_PRIVATE_BUCKET: fastgpt-private # 私有读写桶
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config x-vec-config: &x-vec-config
...@@ -92,10 +95,27 @@ services: ...@@ -92,10 +95,27 @@ services:
start_period: 30s start_period: 30s
volumes: volumes:
- ./redis/data:/data - ./redis/data:/data
fastgpt-minio:
image: minio/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
fastgpt: fastgpt:
container_name: fastgpt container_name: fastgpt
image: ghcr.io/labring/fastgpt:v4.13.1 # git image: ghcr.io/labring/fastgpt:v4.13.2 # git
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -143,33 +163,15 @@ services: ...@@ -143,33 +163,15 @@ services:
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10 SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-minio:
image: minio/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: ghcr.io/labring/fastgpt-sandbox:v4.13.1 image: ghcr.io/labring/fastgpt-sandbox:v4.13.2
networks: networks:
- fastgpt - fastgpt
restart: always restart: always
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.13.1 image: ghcr.io/labring/fastgpt-mcp_server:v4.13.2
networks: networks:
- fastgpt - fastgpt
ports: ports:
...@@ -178,7 +180,7 @@ services: ...@@ -178,7 +180,7 @@ services:
environment: environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.2.2 image: ghcr.io/labring/fastgpt-plugin:v0.2.4
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -49,7 +49,19 @@ services: ...@@ -49,7 +49,19 @@ services:
volumes: volumes:
- ./mongo/data:/data/db - ./mongo/data:/data/db
healthcheck: healthcheck:
test: ['CMD', 'mongo', '-u', 'myusername', '-p', 'mypassword', '--authenticationDatabase', 'admin', '--eval', "db.adminCommand('ping')"] test:
[
'CMD',
'mongo',
'-u',
'myusername',
'-p',
'mypassword',
'--authenticationDatabase',
'admin',
'--eval',
"db.adminCommand('ping')"
]
interval: 10s interval: 10s
timeout: 5s timeout: 5s
retries: 5 retries: 5
...@@ -155,10 +167,8 @@ services: ...@@ -155,10 +167,8 @@ services:
- S3_USE_SSL=false - S3_USE_SSL=false
- S3_ACCESS_KEY=minioadmin - S3_ACCESS_KEY=minioadmin
- S3_SECRET_KEY=minioadmin - S3_SECRET_KEY=minioadmin
- S3_BUCKET=fastgpt-plugins - S3_PUBLIC_BUCKET=fastgpt-public # 系统工具,创建的临时文件,存储的桶,要求公开读私有写。
- S3_TOOL_BUCKET=fastgpt-tool # 系统工具,创建的临时文件,存储的桶,要求公开读私有写。 - S3_PRIVATE_BUCKET=fastgpt-private # 系统插件热安装文件的桶,私有读写。
- S3_PLUGIN_BUCKET=fastgpt-plugin # 系统插件热安装文件的桶,私有读写。
- RETENTION_DAYS=15 # 系统工具临时文件保存天数
- MONGODB_URI=mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin&directConnection=true - MONGODB_URI=mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin&directConnection=true
- REDIS_URL=redis://default:mypassword@redis:6379 - REDIS_URL=redis://default:mypassword@redis:6379
depends_on: depends_on:
......
...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config ...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 30 DB_MAX_LINK: 30
REDIS_URL: redis://default:mypassword@redis:6379 REDIS_URL: redis://default:mypassword@redis:6379
S3_EXTERNAL_BASE_URL:
S3_ENDPOINT: fastgpt-minio S3_ENDPOINT: fastgpt-minio
S3_PORT: 9000 S3_PORT: 9000
S3_USE_SSL: false S3_USE_SSL: false
S3_ACCESS_KEY: minioadmin S3_ACCESS_KEY: minioadmin
S3_SECRET_KEY: minioadmin S3_SECRET_KEY: minioadmin
S3_PUBLIC_BUCKET: fastgpt-public # 公开读私有写桶
S3_PRIVATE_BUCKET: fastgpt-private # 私有读写桶
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config x-vec-config: &x-vec-config
...@@ -91,6 +94,23 @@ ${{vec.db}} ...@@ -91,6 +94,23 @@ ${{vec.db}}
start_period: 30s start_period: 30s
volumes: volumes:
- ./redis/data:/data - ./redis/data:/data
fastgpt-minio:
image: ${{minio.image}}:${{minio.tag}}
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
fastgpt: fastgpt:
container_name: fastgpt container_name: fastgpt
...@@ -142,24 +162,6 @@ ${{vec.db}} ...@@ -142,24 +162,6 @@ ${{vec.db}}
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10 SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-minio:
image: ${{minio.image}}:${{minio.tag}}
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: ${{fastgpt-sandbox.image}}:${{fastgpt-sandbox.tag}} image: ${{fastgpt-sandbox.image}}:${{fastgpt-sandbox.tag}}
...@@ -185,7 +187,6 @@ ${{vec.db}} ...@@ -185,7 +187,6 @@ ${{vec.db}}
environment: environment:
<<: *x-share-db-config <<: *x-share-db-config
AUTH_TOKEN: *x-plugin-auth-token AUTH_TOKEN: *x-plugin-auth-token
S3_BUCKET: fastgpt-plugins
# 工具网络请求,最大请求和响应体 # 工具网络请求,最大请求和响应体
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10 SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 最大 API 请求体大小 # 最大 API 请求体大小
......
--- ---
title: 'V4.13.2(进行中)' title: 'V4.13.2(包含升级脚本)'
description: 'FastGPT V4.13.2 更新说明' description: 'FastGPT V4.13.2 更新说明'
--- ---
...@@ -36,7 +36,9 @@ curl --location --request POST 'https://{{host}}/api/admin/initv4132' \ ...@@ -36,7 +36,9 @@ curl --location --request POST 'https://{{host}}/api/admin/initv4132' \
--header 'Content-Type: application/json' --header 'Content-Type: application/json'
``` ```
会删除原先 S3 的 circleLife 策略。如果使用的是外部 S3,可能会因为不支持 circleLife 操作导 会删除原先 S3 的 circleLife 策略。如果使用的是外部 S3,可能会因为不支持 circleLife 操作导致该脚本错误,可以忽略(因为设置策略也会失败)。
## 🚀 新增内容 ## 🚀 新增内容
1. HTTP 工具集支持手动创建模式。 1. HTTP 工具集支持手动创建模式。
......
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
"document/content/docs/upgrading/4-12/4124.mdx": "2025-09-17T22:29:56+08:00", "document/content/docs/upgrading/4-12/4124.mdx": "2025-09-17T22:29:56+08:00",
"document/content/docs/upgrading/4-13/4130.mdx": "2025-09-30T16:00:10+08:00", "document/content/docs/upgrading/4-13/4130.mdx": "2025-09-30T16:00:10+08:00",
"document/content/docs/upgrading/4-13/4131.mdx": "2025-09-30T15:47:06+08:00", "document/content/docs/upgrading/4-13/4131.mdx": "2025-09-30T15:47:06+08:00",
"document/content/docs/upgrading/4-13/4132.mdx": "2025-10-20T19:08:21+08:00", "document/content/docs/upgrading/4-13/4132.mdx": "2025-10-21T11:19:57+08:00",
"document/content/docs/upgrading/4-8/40.mdx": "2025-08-02T19:38:37+08:00", "document/content/docs/upgrading/4-8/40.mdx": "2025-08-02T19:38:37+08:00",
"document/content/docs/upgrading/4-8/41.mdx": "2025-08-02T19:38:37+08:00", "document/content/docs/upgrading/4-8/41.mdx": "2025-08-02T19:38:37+08:00",
"document/content/docs/upgrading/4-8/42.mdx": "2025-08-02T19:38:37+08:00", "document/content/docs/upgrading/4-8/42.mdx": "2025-08-02T19:38:37+08:00",
......
...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config ...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 30 DB_MAX_LINK: 30
REDIS_URL: redis://default:mypassword@redis:6379 REDIS_URL: redis://default:mypassword@redis:6379
S3_EXTERNAL_BASE_URL:
S3_ENDPOINT: fastgpt-minio S3_ENDPOINT: fastgpt-minio
S3_PORT: 9000 S3_PORT: 9000
S3_USE_SSL: false S3_USE_SSL: false
S3_ACCESS_KEY: minioadmin S3_ACCESS_KEY: minioadmin
S3_SECRET_KEY: minioadmin S3_SECRET_KEY: minioadmin
S3_PUBLIC_BUCKET: fastgpt-public # 公开读私有写桶
S3_PRIVATE_BUCKET: fastgpt-private # 私有读写桶
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config x-vec-config: &x-vec-config
...@@ -151,10 +154,27 @@ services: ...@@ -151,10 +154,27 @@ services:
start_period: 30s start_period: 30s
volumes: volumes:
- ./redis/data:/data - ./redis/data:/data
fastgpt-minio:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
fastgpt: fastgpt:
container_name: fastgpt container_name: fastgpt
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.13.1 # git image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.13.2 # git
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -202,33 +222,15 @@ services: ...@@ -202,33 +222,15 @@ services:
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10 SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-minio:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.13.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.13.2
networks: networks:
- fastgpt - fastgpt
restart: always restart: always
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.13.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.13.2
networks: networks:
- fastgpt - fastgpt
ports: ports:
...@@ -237,7 +239,7 @@ services: ...@@ -237,7 +239,7 @@ services:
environment: environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin: fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.2.2 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.2.4
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config ...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 30 DB_MAX_LINK: 30
REDIS_URL: redis://default:mypassword@redis:6379 REDIS_URL: redis://default:mypassword@redis:6379
S3_EXTERNAL_BASE_URL:
S3_ENDPOINT: fastgpt-minio S3_ENDPOINT: fastgpt-minio
S3_PORT: 9000 S3_PORT: 9000
S3_USE_SSL: false S3_USE_SSL: false
S3_ACCESS_KEY: minioadmin S3_ACCESS_KEY: minioadmin
S3_SECRET_KEY: minioadmin S3_SECRET_KEY: minioadmin
S3_PUBLIC_BUCKET: fastgpt-public # 公开读私有写桶
S3_PRIVATE_BUCKET: fastgpt-private # 私有读写桶
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config x-vec-config: &x-vec-config
...@@ -128,10 +131,27 @@ services: ...@@ -128,10 +131,27 @@ services:
start_period: 30s start_period: 30s
volumes: volumes:
- ./redis/data:/data - ./redis/data:/data
fastgpt-minio:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
fastgpt: fastgpt:
container_name: fastgpt container_name: fastgpt
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.13.1 # git image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.13.2 # git
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -179,33 +199,15 @@ services: ...@@ -179,33 +199,15 @@ services:
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10 SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-minio:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.13.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.13.2
networks: networks:
- fastgpt - fastgpt
restart: always restart: always
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.13.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.13.2
networks: networks:
- fastgpt - fastgpt
ports: ports:
...@@ -214,7 +216,7 @@ services: ...@@ -214,7 +216,7 @@ services:
environment: environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin: fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.2.2 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.2.4
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config ...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 30 DB_MAX_LINK: 30
REDIS_URL: redis://default:mypassword@redis:6379 REDIS_URL: redis://default:mypassword@redis:6379
S3_EXTERNAL_BASE_URL:
S3_ENDPOINT: fastgpt-minio S3_ENDPOINT: fastgpt-minio
S3_PORT: 9000 S3_PORT: 9000
S3_USE_SSL: false S3_USE_SSL: false
S3_ACCESS_KEY: minioadmin S3_ACCESS_KEY: minioadmin
S3_SECRET_KEY: minioadmin S3_SECRET_KEY: minioadmin
S3_PUBLIC_BUCKET: fastgpt-public # 公开读私有写桶
S3_PRIVATE_BUCKET: fastgpt-private # 私有读写桶
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config x-vec-config: &x-vec-config
...@@ -109,10 +112,27 @@ services: ...@@ -109,10 +112,27 @@ services:
start_period: 30s start_period: 30s
volumes: volumes:
- ./redis/data:/data - ./redis/data:/data
fastgpt-minio:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
fastgpt: fastgpt:
container_name: fastgpt container_name: fastgpt
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.13.1 # git image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.13.2 # git
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -160,33 +180,15 @@ services: ...@@ -160,33 +180,15 @@ services:
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10 SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-minio:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.13.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.13.2
networks: networks:
- fastgpt - fastgpt
restart: always restart: always
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.13.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.13.2
networks: networks:
- fastgpt - fastgpt
ports: ports:
...@@ -195,7 +197,7 @@ services: ...@@ -195,7 +197,7 @@ services:
environment: environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin: fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.2.2 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.2.4
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config ...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 30 DB_MAX_LINK: 30
REDIS_URL: redis://default:mypassword@redis:6379 REDIS_URL: redis://default:mypassword@redis:6379
S3_EXTERNAL_BASE_URL:
S3_ENDPOINT: fastgpt-minio S3_ENDPOINT: fastgpt-minio
S3_PORT: 9000 S3_PORT: 9000
S3_USE_SSL: false S3_USE_SSL: false
S3_ACCESS_KEY: minioadmin S3_ACCESS_KEY: minioadmin
S3_SECRET_KEY: minioadmin S3_SECRET_KEY: minioadmin
S3_PUBLIC_BUCKET: fastgpt-public # 公开读私有写桶
S3_PRIVATE_BUCKET: fastgpt-private # 私有读写桶
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config x-vec-config: &x-vec-config
...@@ -92,10 +95,27 @@ services: ...@@ -92,10 +95,27 @@ services:
start_period: 30s start_period: 30s
volumes: volumes:
- ./redis/data:/data - ./redis/data:/data
fastgpt-minio:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
fastgpt: fastgpt:
container_name: fastgpt container_name: fastgpt
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.13.1 # git image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.13.2 # git
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -143,33 +163,15 @@ services: ...@@ -143,33 +163,15 @@ services:
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10 SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-minio:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.13.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.13.2
networks: networks:
- fastgpt - fastgpt
restart: always restart: always
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.13.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.13.2
networks: networks:
- fastgpt - fastgpt
ports: ports:
...@@ -178,7 +180,7 @@ services: ...@@ -178,7 +180,7 @@ services:
environment: environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin: fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.2.2 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.2.4
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config ...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 30 DB_MAX_LINK: 30
REDIS_URL: redis://default:mypassword@redis:6379 REDIS_URL: redis://default:mypassword@redis:6379
S3_EXTERNAL_BASE_URL:
S3_ENDPOINT: fastgpt-minio S3_ENDPOINT: fastgpt-minio
S3_PORT: 9000 S3_PORT: 9000
S3_USE_SSL: false S3_USE_SSL: false
S3_ACCESS_KEY: minioadmin S3_ACCESS_KEY: minioadmin
S3_SECRET_KEY: minioadmin S3_SECRET_KEY: minioadmin
S3_PUBLIC_BUCKET: fastgpt-public # 公开读私有写桶
S3_PRIVATE_BUCKET: fastgpt-private # 私有读写桶
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config x-vec-config: &x-vec-config
...@@ -151,10 +154,27 @@ services: ...@@ -151,10 +154,27 @@ services:
start_period: 30s start_period: 30s
volumes: volumes:
- ./redis/data:/data - ./redis/data:/data
fastgpt-minio:
image: minio/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
fastgpt: fastgpt:
container_name: fastgpt container_name: fastgpt
image: ghcr.io/labring/fastgpt:v4.13.1 # git image: ghcr.io/labring/fastgpt:v4.13.2 # git
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -202,33 +222,15 @@ services: ...@@ -202,33 +222,15 @@ services:
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10 SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-minio:
image: minio/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: ghcr.io/labring/fastgpt-sandbox:v4.13.1 image: ghcr.io/labring/fastgpt-sandbox:v4.13.2
networks: networks:
- fastgpt - fastgpt
restart: always restart: always
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.13.1 image: ghcr.io/labring/fastgpt-mcp_server:v4.13.2
networks: networks:
- fastgpt - fastgpt
ports: ports:
...@@ -237,7 +239,7 @@ services: ...@@ -237,7 +239,7 @@ services:
environment: environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.2.2 image: ghcr.io/labring/fastgpt-plugin:v0.2.4
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config ...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 30 DB_MAX_LINK: 30
REDIS_URL: redis://default:mypassword@redis:6379 REDIS_URL: redis://default:mypassword@redis:6379
S3_EXTERNAL_BASE_URL:
S3_ENDPOINT: fastgpt-minio S3_ENDPOINT: fastgpt-minio
S3_PORT: 9000 S3_PORT: 9000
S3_USE_SSL: false S3_USE_SSL: false
S3_ACCESS_KEY: minioadmin S3_ACCESS_KEY: minioadmin
S3_SECRET_KEY: minioadmin S3_SECRET_KEY: minioadmin
S3_PUBLIC_BUCKET: fastgpt-public # 公开读私有写桶
S3_PRIVATE_BUCKET: fastgpt-private # 私有读写桶
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config x-vec-config: &x-vec-config
...@@ -128,10 +131,27 @@ services: ...@@ -128,10 +131,27 @@ services:
start_period: 30s start_period: 30s
volumes: volumes:
- ./redis/data:/data - ./redis/data:/data
fastgpt-minio:
image: minio/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
fastgpt: fastgpt:
container_name: fastgpt container_name: fastgpt
image: ghcr.io/labring/fastgpt:v4.13.1 # git image: ghcr.io/labring/fastgpt:v4.13.2 # git
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -179,33 +199,15 @@ services: ...@@ -179,33 +199,15 @@ services:
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10 SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-minio:
image: minio/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: ghcr.io/labring/fastgpt-sandbox:v4.13.1 image: ghcr.io/labring/fastgpt-sandbox:v4.13.2
networks: networks:
- fastgpt - fastgpt
restart: always restart: always
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.13.1 image: ghcr.io/labring/fastgpt-mcp_server:v4.13.2
networks: networks:
- fastgpt - fastgpt
ports: ports:
...@@ -214,7 +216,7 @@ services: ...@@ -214,7 +216,7 @@ services:
environment: environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.2.2 image: ghcr.io/labring/fastgpt-plugin:v0.2.4
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config ...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 30 DB_MAX_LINK: 30
REDIS_URL: redis://default:mypassword@redis:6379 REDIS_URL: redis://default:mypassword@redis:6379
S3_EXTERNAL_BASE_URL:
S3_ENDPOINT: fastgpt-minio S3_ENDPOINT: fastgpt-minio
S3_PORT: 9000 S3_PORT: 9000
S3_USE_SSL: false S3_USE_SSL: false
S3_ACCESS_KEY: minioadmin S3_ACCESS_KEY: minioadmin
S3_SECRET_KEY: minioadmin S3_SECRET_KEY: minioadmin
S3_PUBLIC_BUCKET: fastgpt-public # 公开读私有写桶
S3_PRIVATE_BUCKET: fastgpt-private # 私有读写桶
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config x-vec-config: &x-vec-config
...@@ -109,10 +112,27 @@ services: ...@@ -109,10 +112,27 @@ services:
start_period: 30s start_period: 30s
volumes: volumes:
- ./redis/data:/data - ./redis/data:/data
fastgpt-minio:
image: minio/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
fastgpt: fastgpt:
container_name: fastgpt container_name: fastgpt
image: ghcr.io/labring/fastgpt:v4.13.1 # git image: ghcr.io/labring/fastgpt:v4.13.2 # git
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -160,33 +180,15 @@ services: ...@@ -160,33 +180,15 @@ services:
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10 SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-minio:
image: minio/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: ghcr.io/labring/fastgpt-sandbox:v4.13.1 image: ghcr.io/labring/fastgpt-sandbox:v4.13.2
networks: networks:
- fastgpt - fastgpt
restart: always restart: always
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.13.1 image: ghcr.io/labring/fastgpt-mcp_server:v4.13.2
networks: networks:
- fastgpt - fastgpt
ports: ports:
...@@ -195,7 +197,7 @@ services: ...@@ -195,7 +197,7 @@ services:
environment: environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.2.2 image: ghcr.io/labring/fastgpt-plugin:v0.2.4
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config ...@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 30 DB_MAX_LINK: 30
REDIS_URL: redis://default:mypassword@redis:6379 REDIS_URL: redis://default:mypassword@redis:6379
S3_EXTERNAL_BASE_URL:
S3_ENDPOINT: fastgpt-minio S3_ENDPOINT: fastgpt-minio
S3_PORT: 9000 S3_PORT: 9000
S3_USE_SSL: false S3_USE_SSL: false
S3_ACCESS_KEY: minioadmin S3_ACCESS_KEY: minioadmin
S3_SECRET_KEY: minioadmin S3_SECRET_KEY: minioadmin
S3_PUBLIC_BUCKET: fastgpt-public # 公开读私有写桶
S3_PRIVATE_BUCKET: fastgpt-private # 私有读写桶
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config x-vec-config: &x-vec-config
...@@ -92,10 +95,27 @@ services: ...@@ -92,10 +95,27 @@ services:
start_period: 30s start_period: 30s
volumes: volumes:
- ./redis/data:/data - ./redis/data:/data
fastgpt-minio:
image: minio/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
fastgpt: fastgpt:
container_name: fastgpt container_name: fastgpt
image: ghcr.io/labring/fastgpt:v4.13.1 # git image: ghcr.io/labring/fastgpt:v4.13.2 # git
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -143,33 +163,15 @@ services: ...@@ -143,33 +163,15 @@ services:
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10 SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-minio:
image: minio/minio:RELEASE.2025-09-07T16-13-09Z
container_name: fastgpt-minio
restart: always
networks:
- fastgpt
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./fastgpt-minio:/data
command: server /data --console-address ":9001"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
interval: 30s
timeout: 20s
retries: 3
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: ghcr.io/labring/fastgpt-sandbox:v4.13.1 image: ghcr.io/labring/fastgpt-sandbox:v4.13.2
networks: networks:
- fastgpt - fastgpt
restart: always restart: always
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.13.1 image: ghcr.io/labring/fastgpt-mcp_server:v4.13.2
networks: networks:
- fastgpt - fastgpt
ports: ports:
...@@ -178,7 +180,7 @@ services: ...@@ -178,7 +180,7 @@ services:
environment: environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.2.2 image: ghcr.io/labring/fastgpt-plugin:v0.2.4
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
import type { NextApiRequest, NextApiResponse } from 'next';
import { NextAPI } from '@/service/middleware/entry';
import { authCert, clearCookie } from '@fastgpt/service/support/permission/auth/common';
import { delUserAllSession } from '@fastgpt/service/support/user/session';
async function handler(req: NextApiRequest, res: NextApiResponse<any>) {
try {
const { userId } = await authCert({ req, authToken: true });
await delUserAllSession(userId);
} catch (error) {}
clearCookie(res);
}
export default NextAPI(handler);
...@@ -20,6 +20,7 @@ import { ...@@ -20,6 +20,7 @@ import {
removeFastGPTSem removeFastGPTSem
} from '@/web/support/marketing/utils'; } from '@/web/support/marketing/utils';
import { postAcceptInvitationLink } from '@/web/support/user/team/api'; import { postAcceptInvitationLink } from '@/web/support/user/team/api';
import { retryFn } from '@fastgpt/global/common/system/utils';
let isOauthLogging = false; let isOauthLogging = false;
...@@ -124,7 +125,7 @@ const provider = () => { ...@@ -124,7 +125,7 @@ const provider = () => {
isOauthLogging = true; isOauthLogging = true;
(async () => { (async () => {
await clearToken(); await retryFn(async () => clearToken());
router.prefetch('/dashboard/apps'); router.prefetch('/dashboard/apps');
if (loginStore && loginStore.provider !== 'sso' && state !== loginStore.state) { if (loginStore && loginStore.provider !== 'sso' && state !== loginStore.state) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment