Skip to content

Commit d82e9f3

Browse files
committed
fix: community version check
1 parent de7434e commit d82e9f3

30 files changed

Lines changed: 235 additions & 157 deletions

deploy/docker/cn/docker-compose.milvus.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ services:
193193

194194
fastgpt:
195195
container_name: fastgpt
196-
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.9.5 # git
196+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.9.5
197197
ports:
198198
- 3000:3000
199199
networks:
@@ -362,9 +362,11 @@ services:
362362
# runtime=docker 模式需要挂载 Docker socket
363363
# 配置 docker.host_ip 为宿主机 LAN IP(容器内访问宿主机服务用)
364364
opensandbox-server:
365-
image: opensandbox/server:v0.1.9
365+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-server:v0.1.9
366366
container_name: opensandbox-server
367367
restart: always
368+
ports: # 生产环境建议不要暴露
369+
- 8090:8090
368370
networks:
369371
- fastgpt
370372
volumes:
@@ -373,7 +375,7 @@ services:
373375
- source: opensandbox-config
374376
target: /etc/opensandbox/config.toml
375377
environment:
376-
- SANDBOX_CONFIG_PATH=/etc/opensandbox/config.toml
378+
SANDBOX_CONFIG_PATH: /etc/opensandbox/config.toml
377379
healthcheck:
378380
test: ['CMD', 'curl', '-f', 'http://localhost:8090/health']
379381
interval: 10s
@@ -389,10 +391,10 @@ services:
389391
volumes:
390392
- /var/run/docker.sock:/var/run/docker.sock:ro # Docker 模式必须挂载(只读即可)
391393
environment:
392-
- VM_RUNTIME=docker
393-
- VM_AUTH_TOKEN=*x-volume-manager-auth-token # 对应 AGENT_SANDBOX_VOLUME_MANAGER_TOKEN
394-
- VM_VOLUME_NAME_PREFIX=fastgpt-session # volume 名称前缀
395-
- VM_LOG_LEVEL=info
394+
VM_RUNTIME: docker
395+
VM_AUTH_TOKEN: *x-volume-manager-auth-token # 对应 AGENT_SANDBOX_VOLUME_MANAGER_TOKEN
396+
VM_VOLUME_NAME_PREFIX: fastgpt-session # volume 名称前缀
397+
VM_LOG_LEVEL: info
396398
healthcheck:
397399
test:
398400
[
@@ -458,6 +460,7 @@ networks:
458460
vector:
459461

460462
configs:
463+
461464
opensandbox-config:
462465
content: |
463466
[server]

deploy/docker/cn/docker-compose.oceanbase.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ services:
170170

171171
fastgpt:
172172
container_name: fastgpt
173-
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.9.5 # git
173+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.9.5
174174
ports:
175175
- 3000:3000
176176
networks:
@@ -339,9 +339,11 @@ services:
339339
# runtime=docker 模式需要挂载 Docker socket
340340
# 配置 docker.host_ip 为宿主机 LAN IP(容器内访问宿主机服务用)
341341
opensandbox-server:
342-
image: opensandbox/server:v0.1.9
342+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-server:v0.1.9
343343
container_name: opensandbox-server
344344
restart: always
345+
ports: # 生产环境建议不要暴露
346+
- 8090:8090
345347
networks:
346348
- fastgpt
347349
volumes:
@@ -350,7 +352,7 @@ services:
350352
- source: opensandbox-config
351353
target: /etc/opensandbox/config.toml
352354
environment:
353-
- SANDBOX_CONFIG_PATH=/etc/opensandbox/config.toml
355+
SANDBOX_CONFIG_PATH: /etc/opensandbox/config.toml
354356
healthcheck:
355357
test: ['CMD', 'curl', '-f', 'http://localhost:8090/health']
356358
interval: 10s
@@ -366,10 +368,10 @@ services:
366368
volumes:
367369
- /var/run/docker.sock:/var/run/docker.sock:ro # Docker 模式必须挂载(只读即可)
368370
environment:
369-
- VM_RUNTIME=docker
370-
- VM_AUTH_TOKEN=*x-volume-manager-auth-token # 对应 AGENT_SANDBOX_VOLUME_MANAGER_TOKEN
371-
- VM_VOLUME_NAME_PREFIX=fastgpt-session # volume 名称前缀
372-
- VM_LOG_LEVEL=info
371+
VM_RUNTIME: docker
372+
VM_AUTH_TOKEN: *x-volume-manager-auth-token # 对应 AGENT_SANDBOX_VOLUME_MANAGER_TOKEN
373+
VM_VOLUME_NAME_PREFIX: fastgpt-session # volume 名称前缀
374+
VM_LOG_LEVEL: info
373375
healthcheck:
374376
test:
375377
[
@@ -435,6 +437,11 @@ networks:
435437
vector:
436438

437439
configs:
440+
init_sql:
441+
name: init_sql
442+
content: |
443+
ALTER SYSTEM SET ob_vector_memory_limit_percentage = 30;
444+
438445
opensandbox-config:
439446
content: |
440447
[server]

deploy/docker/cn/docker-compose.pg.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ services:
151151

152152
fastgpt:
153153
container_name: fastgpt
154-
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.9.5 # git
154+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.9.5
155155
ports:
156156
- 3000:3000
157157
networks:
@@ -320,9 +320,11 @@ services:
320320
# runtime=docker 模式需要挂载 Docker socket
321321
# 配置 docker.host_ip 为宿主机 LAN IP(容器内访问宿主机服务用)
322322
opensandbox-server:
323-
image: opensandbox/server:v0.1.9
323+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-server:v0.1.9
324324
container_name: opensandbox-server
325325
restart: always
326+
ports: # 生产环境建议不要暴露
327+
- 8090:8090
326328
networks:
327329
- fastgpt
328330
volumes:
@@ -331,7 +333,7 @@ services:
331333
- source: opensandbox-config
332334
target: /etc/opensandbox/config.toml
333335
environment:
334-
- SANDBOX_CONFIG_PATH=/etc/opensandbox/config.toml
336+
SANDBOX_CONFIG_PATH: /etc/opensandbox/config.toml
335337
healthcheck:
336338
test: ['CMD', 'curl', '-f', 'http://localhost:8090/health']
337339
interval: 10s
@@ -347,10 +349,10 @@ services:
347349
volumes:
348350
- /var/run/docker.sock:/var/run/docker.sock:ro # Docker 模式必须挂载(只读即可)
349351
environment:
350-
- VM_RUNTIME=docker
351-
- VM_AUTH_TOKEN=*x-volume-manager-auth-token # 对应 AGENT_SANDBOX_VOLUME_MANAGER_TOKEN
352-
- VM_VOLUME_NAME_PREFIX=fastgpt-session # volume 名称前缀
353-
- VM_LOG_LEVEL=info
352+
VM_RUNTIME: docker
353+
VM_AUTH_TOKEN: *x-volume-manager-auth-token # 对应 AGENT_SANDBOX_VOLUME_MANAGER_TOKEN
354+
VM_VOLUME_NAME_PREFIX: fastgpt-session # volume 名称前缀
355+
VM_LOG_LEVEL: info
354356
healthcheck:
355357
test:
356358
[
@@ -416,6 +418,7 @@ networks:
416418
vector:
417419

418420
configs:
421+
419422
opensandbox-config:
420423
content: |
421424
[server]

deploy/docker/cn/docker-compose.seekdb.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ services:
157157

158158
fastgpt:
159159
container_name: fastgpt
160-
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.9.5 # git
160+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.9.5
161161
ports:
162162
- 3000:3000
163163
networks:
@@ -326,9 +326,11 @@ services:
326326
# runtime=docker 模式需要挂载 Docker socket
327327
# 配置 docker.host_ip 为宿主机 LAN IP(容器内访问宿主机服务用)
328328
opensandbox-server:
329-
image: opensandbox/server:v0.1.9
329+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-server:v0.1.9
330330
container_name: opensandbox-server
331331
restart: always
332+
ports: # 生产环境建议不要暴露
333+
- 8090:8090
332334
networks:
333335
- fastgpt
334336
volumes:
@@ -337,7 +339,7 @@ services:
337339
- source: opensandbox-config
338340
target: /etc/opensandbox/config.toml
339341
environment:
340-
- SANDBOX_CONFIG_PATH=/etc/opensandbox/config.toml
342+
SANDBOX_CONFIG_PATH: /etc/opensandbox/config.toml
341343
healthcheck:
342344
test: ['CMD', 'curl', '-f', 'http://localhost:8090/health']
343345
interval: 10s
@@ -353,10 +355,10 @@ services:
353355
volumes:
354356
- /var/run/docker.sock:/var/run/docker.sock:ro # Docker 模式必须挂载(只读即可)
355357
environment:
356-
- VM_RUNTIME=docker
357-
- VM_AUTH_TOKEN=*x-volume-manager-auth-token # 对应 AGENT_SANDBOX_VOLUME_MANAGER_TOKEN
358-
- VM_VOLUME_NAME_PREFIX=fastgpt-session # volume 名称前缀
359-
- VM_LOG_LEVEL=info
358+
VM_RUNTIME: docker
359+
VM_AUTH_TOKEN: *x-volume-manager-auth-token # 对应 AGENT_SANDBOX_VOLUME_MANAGER_TOKEN
360+
VM_VOLUME_NAME_PREFIX: fastgpt-session # volume 名称前缀
361+
VM_LOG_LEVEL: info
360362
healthcheck:
361363
test:
362364
[
@@ -422,6 +424,7 @@ networks:
422424
vector:
423425

424426
configs:
427+
425428
opensandbox-config:
426429
content: |
427430
[server]

deploy/docker/cn/docker-compose.zilliz.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ services:
135135

136136
fastgpt:
137137
container_name: fastgpt
138-
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.9.5 # git
138+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.9.5
139139
ports:
140140
- 3000:3000
141141
networks:
@@ -304,9 +304,11 @@ services:
304304
# runtime=docker 模式需要挂载 Docker socket
305305
# 配置 docker.host_ip 为宿主机 LAN IP(容器内访问宿主机服务用)
306306
opensandbox-server:
307-
image: opensandbox/server:v0.1.9
307+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-server:v0.1.9
308308
container_name: opensandbox-server
309309
restart: always
310+
ports: # 生产环境建议不要暴露
311+
- 8090:8090
310312
networks:
311313
- fastgpt
312314
volumes:
@@ -315,7 +317,7 @@ services:
315317
- source: opensandbox-config
316318
target: /etc/opensandbox/config.toml
317319
environment:
318-
- SANDBOX_CONFIG_PATH=/etc/opensandbox/config.toml
320+
SANDBOX_CONFIG_PATH: /etc/opensandbox/config.toml
319321
healthcheck:
320322
test: ['CMD', 'curl', '-f', 'http://localhost:8090/health']
321323
interval: 10s
@@ -331,10 +333,10 @@ services:
331333
volumes:
332334
- /var/run/docker.sock:/var/run/docker.sock:ro # Docker 模式必须挂载(只读即可)
333335
environment:
334-
- VM_RUNTIME=docker
335-
- VM_AUTH_TOKEN=*x-volume-manager-auth-token # 对应 AGENT_SANDBOX_VOLUME_MANAGER_TOKEN
336-
- VM_VOLUME_NAME_PREFIX=fastgpt-session # volume 名称前缀
337-
- VM_LOG_LEVEL=info
336+
VM_RUNTIME: docker
337+
VM_AUTH_TOKEN: *x-volume-manager-auth-token # 对应 AGENT_SANDBOX_VOLUME_MANAGER_TOKEN
338+
VM_VOLUME_NAME_PREFIX: fastgpt-session # volume 名称前缀
339+
VM_LOG_LEVEL: info
338340
healthcheck:
339341
test:
340342
[
@@ -400,6 +402,7 @@ networks:
400402
vector:
401403

402404
configs:
405+
403406
opensandbox-config:
404407
content: |
405408
[server]

deploy/docker/global/docker-compose.milvus.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ services:
193193

194194
fastgpt:
195195
container_name: fastgpt
196-
image: ghcr.io/labring/fastgpt:v4.14.9.5 # git
196+
image: ghcr.io/labring/fastgpt:v4.14.9.5
197197
ports:
198198
- 3000:3000
199199
networks:
@@ -362,9 +362,11 @@ services:
362362
# runtime=docker 模式需要挂载 Docker socket
363363
# 配置 docker.host_ip 为宿主机 LAN IP(容器内访问宿主机服务用)
364364
opensandbox-server:
365-
image: opensandbox/server:v0.1.9
365+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-server:v0.1.9
366366
container_name: opensandbox-server
367367
restart: always
368+
ports: # 生产环境建议不要暴露
369+
- 8090:8090
368370
networks:
369371
- fastgpt
370372
volumes:
@@ -373,7 +375,7 @@ services:
373375
- source: opensandbox-config
374376
target: /etc/opensandbox/config.toml
375377
environment:
376-
- SANDBOX_CONFIG_PATH=/etc/opensandbox/config.toml
378+
SANDBOX_CONFIG_PATH: /etc/opensandbox/config.toml
377379
healthcheck:
378380
test: ['CMD', 'curl', '-f', 'http://localhost:8090/health']
379381
interval: 10s
@@ -389,10 +391,10 @@ services:
389391
volumes:
390392
- /var/run/docker.sock:/var/run/docker.sock:ro # Docker 模式必须挂载(只读即可)
391393
environment:
392-
- VM_RUNTIME=docker
393-
- VM_AUTH_TOKEN=*x-volume-manager-auth-token # 对应 AGENT_SANDBOX_VOLUME_MANAGER_TOKEN
394-
- VM_VOLUME_NAME_PREFIX=fastgpt-session # volume 名称前缀
395-
- VM_LOG_LEVEL=info
394+
VM_RUNTIME: docker
395+
VM_AUTH_TOKEN: *x-volume-manager-auth-token # 对应 AGENT_SANDBOX_VOLUME_MANAGER_TOKEN
396+
VM_VOLUME_NAME_PREFIX: fastgpt-session # volume 名称前缀
397+
VM_LOG_LEVEL: info
396398
healthcheck:
397399
test:
398400
[
@@ -458,6 +460,7 @@ networks:
458460
vector:
459461

460462
configs:
463+
461464
opensandbox-config:
462465
content: |
463466
[server]

deploy/docker/global/docker-compose.oceanbase.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ services:
170170

171171
fastgpt:
172172
container_name: fastgpt
173-
image: ghcr.io/labring/fastgpt:v4.14.9.5 # git
173+
image: ghcr.io/labring/fastgpt:v4.14.9.5
174174
ports:
175175
- 3000:3000
176176
networks:
@@ -339,9 +339,11 @@ services:
339339
# runtime=docker 模式需要挂载 Docker socket
340340
# 配置 docker.host_ip 为宿主机 LAN IP(容器内访问宿主机服务用)
341341
opensandbox-server:
342-
image: opensandbox/server:v0.1.9
342+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-server:v0.1.9
343343
container_name: opensandbox-server
344344
restart: always
345+
ports: # 生产环境建议不要暴露
346+
- 8090:8090
345347
networks:
346348
- fastgpt
347349
volumes:
@@ -350,7 +352,7 @@ services:
350352
- source: opensandbox-config
351353
target: /etc/opensandbox/config.toml
352354
environment:
353-
- SANDBOX_CONFIG_PATH=/etc/opensandbox/config.toml
355+
SANDBOX_CONFIG_PATH: /etc/opensandbox/config.toml
354356
healthcheck:
355357
test: ['CMD', 'curl', '-f', 'http://localhost:8090/health']
356358
interval: 10s
@@ -366,10 +368,10 @@ services:
366368
volumes:
367369
- /var/run/docker.sock:/var/run/docker.sock:ro # Docker 模式必须挂载(只读即可)
368370
environment:
369-
- VM_RUNTIME=docker
370-
- VM_AUTH_TOKEN=*x-volume-manager-auth-token # 对应 AGENT_SANDBOX_VOLUME_MANAGER_TOKEN
371-
- VM_VOLUME_NAME_PREFIX=fastgpt-session # volume 名称前缀
372-
- VM_LOG_LEVEL=info
371+
VM_RUNTIME: docker
372+
VM_AUTH_TOKEN: *x-volume-manager-auth-token # 对应 AGENT_SANDBOX_VOLUME_MANAGER_TOKEN
373+
VM_VOLUME_NAME_PREFIX: fastgpt-session # volume 名称前缀
374+
VM_LOG_LEVEL: info
373375
healthcheck:
374376
test:
375377
[
@@ -435,6 +437,11 @@ networks:
435437
vector:
436438

437439
configs:
440+
init_sql:
441+
name: init_sql
442+
content: |
443+
ALTER SYSTEM SET ob_vector_memory_limit_percentage = 30;
444+
438445
opensandbox-config:
439446
content: |
440447
[server]

0 commit comments

Comments
 (0)