mirror of
https://github.com/labring/FastGPT.git
synced 2026-02-27 01:02:22 +08:00
doc (#6225)
This commit is contained in:
@@ -28,6 +28,7 @@ x-share-db-config: &x-share-db-config
|
||||
x-vec-config: &x-vec-config
|
||||
MILVUS_ADDRESS: http://milvusStandalone:19530
|
||||
MILVUS_TOKEN: none
|
||||
|
||||
|
||||
version: '3.3'
|
||||
services:
|
||||
@@ -91,6 +92,7 @@ services:
|
||||
- 'milvus-etcd'
|
||||
- 'milvus-minio'
|
||||
|
||||
|
||||
mongo:
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/mongo:5.0.32 # cpu 不支持 AVX 时候使用 4.4.29
|
||||
container_name: mongo
|
||||
@@ -104,19 +106,7 @@ services:
|
||||
volumes:
|
||||
- ./mongo/data:/data/db
|
||||
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
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
@@ -190,7 +180,7 @@ services:
|
||||
|
||||
fastgpt:
|
||||
container_name: fastgpt
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.4 # git
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.5 # git
|
||||
ports:
|
||||
- 3000:3000
|
||||
networks:
|
||||
@@ -242,13 +232,13 @@ services:
|
||||
- ./config.json:/app/data/config.json
|
||||
sandbox:
|
||||
container_name: sandbox
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.14.4
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.14.5
|
||||
networks:
|
||||
- fastgpt
|
||||
restart: always
|
||||
fastgpt-mcp-server:
|
||||
container_name: fastgpt-mcp-server
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.4
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.5
|
||||
networks:
|
||||
- fastgpt
|
||||
ports:
|
||||
@@ -257,7 +247,7 @@ services:
|
||||
environment:
|
||||
- FASTGPT_ENDPOINT=http://fastgpt:3000
|
||||
fastgpt-plugin:
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.3.4
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.4.0
|
||||
container_name: fastgpt-plugin
|
||||
restart: always
|
||||
networks:
|
||||
@@ -323,3 +313,4 @@ networks:
|
||||
fastgpt:
|
||||
aiproxy:
|
||||
vector:
|
||||
|
||||
|
||||
@@ -28,11 +28,12 @@ x-share-db-config: &x-share-db-config
|
||||
x-vec-config: &x-vec-config
|
||||
OCEANBASE_URL: mysql://root%40tenantname:tenantpassword@ob:2881/test
|
||||
|
||||
|
||||
version: '3.3'
|
||||
services:
|
||||
# Vector DB
|
||||
vectorDB:
|
||||
image: oceanbase/oceanbase-ce:4.3.5-lts
|
||||
image: oceanbase/oceanbase-ce:4.3.5-lts
|
||||
container_name: ob
|
||||
restart: always
|
||||
# ports: # 生产环境建议不要暴露
|
||||
@@ -60,14 +61,15 @@ services:
|
||||
# obclient -h127.0.0.1 -P2881 -uroot@tenantname -ptenantpassword -e "SELECT 1;"
|
||||
test:
|
||||
[
|
||||
'CMD-SHELL',
|
||||
'obclient -h$${OB_SERVER_IP} -P2881 -uroot@$${OB_TENANT_NAME} -p$${OB_TENANT_PASSWORD} -e "SELECT 1;"'
|
||||
"CMD-SHELL",
|
||||
'obclient -h$${OB_SERVER_IP} -P2881 -uroot@$${OB_TENANT_NAME} -p$${OB_TENANT_PASSWORD} -e "SELECT 1;"',
|
||||
]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 1000
|
||||
start_period: 10s
|
||||
|
||||
|
||||
mongo:
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/mongo:5.0.32 # cpu 不支持 AVX 时候使用 4.4.29
|
||||
container_name: mongo
|
||||
@@ -81,19 +83,7 @@ services:
|
||||
volumes:
|
||||
- ./mongo/data:/data/db
|
||||
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
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
@@ -167,7 +157,7 @@ services:
|
||||
|
||||
fastgpt:
|
||||
container_name: fastgpt
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.4 # git
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.5 # git
|
||||
ports:
|
||||
- 3000:3000
|
||||
networks:
|
||||
@@ -219,13 +209,13 @@ services:
|
||||
- ./config.json:/app/data/config.json
|
||||
sandbox:
|
||||
container_name: sandbox
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.14.4
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.14.5
|
||||
networks:
|
||||
- fastgpt
|
||||
restart: always
|
||||
fastgpt-mcp-server:
|
||||
container_name: fastgpt-mcp-server
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.4
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.5
|
||||
networks:
|
||||
- fastgpt
|
||||
ports:
|
||||
@@ -234,7 +224,7 @@ services:
|
||||
environment:
|
||||
- FASTGPT_ENDPOINT=http://fastgpt:3000
|
||||
fastgpt-plugin:
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.3.4
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.4.0
|
||||
container_name: fastgpt-plugin
|
||||
restart: always
|
||||
networks:
|
||||
@@ -305,3 +295,4 @@ configs:
|
||||
name: init_sql
|
||||
content: |
|
||||
ALTER SYSTEM SET ob_vector_memory_limit_percentage = 30;
|
||||
|
||||
|
||||
@@ -50,6 +50,7 @@ services:
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
|
||||
|
||||
mongo:
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/mongo:5.0.32 # cpu 不支持 AVX 时候使用 4.4.29
|
||||
container_name: mongo
|
||||
@@ -63,19 +64,7 @@ services:
|
||||
volumes:
|
||||
- ./mongo/data:/data/db
|
||||
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
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
@@ -149,7 +138,7 @@ services:
|
||||
|
||||
fastgpt:
|
||||
container_name: fastgpt
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.4 # git
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.5 # git
|
||||
ports:
|
||||
- 3000:3000
|
||||
networks:
|
||||
@@ -201,13 +190,13 @@ services:
|
||||
- ./config.json:/app/data/config.json
|
||||
sandbox:
|
||||
container_name: sandbox
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.14.4
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.14.5
|
||||
networks:
|
||||
- fastgpt
|
||||
restart: always
|
||||
fastgpt-mcp-server:
|
||||
container_name: fastgpt-mcp-server
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.4
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.5
|
||||
networks:
|
||||
- fastgpt
|
||||
ports:
|
||||
@@ -216,7 +205,7 @@ services:
|
||||
environment:
|
||||
- FASTGPT_ENDPOINT=http://fastgpt:3000
|
||||
fastgpt-plugin:
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.3.4
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.4.0
|
||||
container_name: fastgpt-plugin
|
||||
restart: always
|
||||
networks:
|
||||
@@ -282,3 +271,4 @@ networks:
|
||||
fastgpt:
|
||||
aiproxy:
|
||||
vector:
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@ version: '3.3'
|
||||
services:
|
||||
# Vector DB
|
||||
|
||||
|
||||
mongo:
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/mongo:5.0.32 # cpu 不支持 AVX 时候使用 4.4.29
|
||||
container_name: mongo
|
||||
@@ -46,19 +47,7 @@ services:
|
||||
volumes:
|
||||
- ./mongo/data:/data/db
|
||||
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
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
@@ -132,7 +121,7 @@ services:
|
||||
|
||||
fastgpt:
|
||||
container_name: fastgpt
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.4 # git
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.5 # git
|
||||
ports:
|
||||
- 3000:3000
|
||||
networks:
|
||||
@@ -184,13 +173,13 @@ services:
|
||||
- ./config.json:/app/data/config.json
|
||||
sandbox:
|
||||
container_name: sandbox
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.14.4
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.14.5
|
||||
networks:
|
||||
- fastgpt
|
||||
restart: always
|
||||
fastgpt-mcp-server:
|
||||
container_name: fastgpt-mcp-server
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.4
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.5
|
||||
networks:
|
||||
- fastgpt
|
||||
ports:
|
||||
@@ -199,7 +188,7 @@ services:
|
||||
environment:
|
||||
- FASTGPT_ENDPOINT=http://fastgpt:3000
|
||||
fastgpt-plugin:
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.3.4
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.4.0
|
||||
container_name: fastgpt-plugin
|
||||
restart: always
|
||||
networks:
|
||||
@@ -265,3 +254,4 @@ networks:
|
||||
fastgpt:
|
||||
aiproxy:
|
||||
vector:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user