Skip to content

Commit 8f731b5

Browse files
chore: Update OpenSandbox versions and image repositories (#6709)
* chore: Update OpenSandbox versions and image repositories * yml version * images * init yml * port --------- Co-authored-by: archer <545436317@qq.com>
1 parent 0e46ccc commit 8f731b5

29 files changed

+478
-264
lines changed

deploy/args.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
"fastgpt-plugin": "v0.5.6",
77
"volume-manager": "v0.1",
88
"agent-sandbox-image": "v0.1",
9+
"opensandbox-server": "v0.1.9",
10+
"opensandbox-execd": "v1.0.7",
11+
"opensandbox-egress": "v1.0.3",
912
"aiproxy": "v0.3.5",
1013
"aiproxy-pg": "0.8.0-pg15",
1114
"mongo": "5.0.32",
@@ -26,6 +29,9 @@
2629
"fastgpt-mcp_server": "registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server",
2730
"volume-manager": "registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-agent-volume-manager",
2831
"agent-sandbox-image": "registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-agent-sandbox",
32+
"opensandbox-server": "registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-server",
33+
"opensandbox-execd": "registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-execd",
34+
"opensandbox-egress": "registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-egress",
2935
"aiproxy": "registry.cn-hangzhou.aliyuncs.com/labring/aiproxy",
3036
"aiproxy-pg": "registry.cn-hangzhou.aliyuncs.com/fastgpt/pgvector",
3137
"mongo": "registry.cn-hangzhou.aliyuncs.com/fastgpt/mongo",
@@ -44,6 +50,10 @@
4450
"fastgpt-code-sandbox": "ghcr.io/labring/fastgpt-code-sandbox",
4551
"fastgpt-mcp_server": "ghcr.io/labring/fastgpt-mcp_server",
4652
"volume-manager": "ghcr.io/labring/fastgpt-agent-volume-manager",
53+
"agent-sandbox-image": "ghcr.io/labring/fastgpt-agent-sandbox",
54+
"opensandbox-server": "opensandbox/server",
55+
"opensandbox-execd": "opensandbox/execd",
56+
"opensandbox-egress": "opensandbox/egress",
4757
"aiproxy": "ghcr.io/labring/aiproxy",
4858
"aiproxy-pg": "pgvector/pgvector",
4959
"mongo": "mongo",

deploy/dev/docker-compose.cn.yml

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@
66
# - fastgpt-mongo: 27017
77
# - fastgpt-redis: 6379
88
# - fastgpt-code-sandbox: 3002
9-
# - fastgpt-plugin: 3003
9+
# - fastgpt-mcp-server: 3003
10+
# - fastgpt-plugin: 3004
11+
# - fastgpt-volume-manager: 3005
12+
# - opensandbox-server: 8090
1013
# - fastgpt-aiproxy: 3010
14+
# - fastgpt-aiproxy-pg: 5432
1115
# - 使用 pgvector 作为默认的向量库
1216

1317
# plugin auth token
@@ -251,7 +255,7 @@ services:
251255
# 沙盒控制器:管理 Docker 容器的创建/执行/停止/删除
252256
# runtime=docker 模式需要挂载 Docker socket
253257
# 配置 docker.host_ip 为宿主机 LAN IP(容器内访问宿主机服务用)
254-
fastgpt-opensandbox-server:
258+
opensandbox-server:
255259
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-server:v0.1.9
256260
container_name: fastgpt-opensandbox-server
257261
restart: always
@@ -271,6 +275,19 @@ services:
271275
interval: 10s
272276
timeout: 5s
273277
retries: 5
278+
# Pre-pull only: not started by `docker compose up` (uses profile `prepull`).
279+
opensandbox-agent-sandbox-image:
280+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-agent-sandbox:v0.1
281+
profiles:
282+
- prepull
283+
opensandbox-execd-image:
284+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-execd:v1.0.7
285+
profiles:
286+
- prepull
287+
opensandbox-egress-image:
288+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-egress:v1.0.3
289+
profiles:
290+
- prepull
274291
# 卷管理微服务:负责幂等创建/删除 Docker named volume 或 k8s PVC
275292
fastgpt-volume-manager:
276293
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-agent-volume-manager:v0.1
@@ -299,11 +316,6 @@ services:
299316
interval: 10s
300317
timeout: 5s
301318
retries: 5
302-
# Pre-pull only: not started by `docker compose up` (uses profile `prepull`).
303-
fastgpt-agent-sandbox-image:
304-
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-agent-sandbox:v0.1
305-
profiles:
306-
- prepull
307319

308320
# AI Proxy
309321
fastgpt-aiproxy:
@@ -375,10 +387,10 @@ configs:
375387
376388
[runtime]
377389
type = "docker"
378-
execd_image = "sandbox-registry.cn-zhangjiakou.cr.aliyuncs.com/opensandbox/execd:v1.0.6"
390+
execd_image = "registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-execd:v1.0.7"
379391
380392
[egress]
381-
image = "sandbox-registry.cn-zhangjiakou.cr.aliyuncs.com/opensandbox/egress:v1.0.1"
393+
image = "registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-egress:v1.0.3"
382394
383395
[docker]
384396
network_mode = "bridge"

deploy/dev/docker-compose.yml

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@
66
# - fastgpt-mongo: 27017
77
# - fastgpt-redis: 6379
88
# - fastgpt-code-sandbox: 3002
9-
# - fastgpt-plugin: 3003
9+
# - fastgpt-mcp-server: 3003
10+
# - fastgpt-plugin: 3004
11+
# - fastgpt-volume-manager: 3005
12+
# - opensandbox-server: 8090
1013
# - fastgpt-aiproxy: 3010
14+
# - fastgpt-aiproxy-pg: 5432
1115
# - 使用 pgvector 作为默认的向量库
1216

1317
# plugin auth token
@@ -251,8 +255,8 @@ services:
251255
# 沙盒控制器:管理 Docker 容器的创建/执行/停止/删除
252256
# runtime=docker 模式需要挂载 Docker socket
253257
# 配置 docker.host_ip 为宿主机 LAN IP(容器内访问宿主机服务用)
254-
fastgpt-opensandbox-server:
255-
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-server:v0.1.9
258+
opensandbox-server:
259+
image: opensandbox/server:v0.1.9
256260
container_name: fastgpt-opensandbox-server
257261
restart: always
258262
ports:
@@ -271,6 +275,19 @@ services:
271275
interval: 10s
272276
timeout: 5s
273277
retries: 5
278+
# Pre-pull only: not started by `docker compose up` (uses profile `prepull`).
279+
opensandbox-agent-sandbox-image:
280+
image: ghcr.io/labring/fastgpt-agent-sandbox:v0.1
281+
profiles:
282+
- prepull
283+
opensandbox-execd-image:
284+
image: opensandbox/execd:v1.0.7
285+
profiles:
286+
- prepull
287+
opensandbox-egress-image:
288+
image: opensandbox/egress:v1.0.3
289+
profiles:
290+
- prepull
274291
# 卷管理微服务:负责幂等创建/删除 Docker named volume 或 k8s PVC
275292
fastgpt-volume-manager:
276293
image: ghcr.io/labring/fastgpt-agent-volume-manager:v0.1
@@ -299,11 +316,6 @@ services:
299316
interval: 10s
300317
timeout: 5s
301318
retries: 5
302-
# Pre-pull only: not started by `docker compose up` (uses profile `prepull`).
303-
fastgpt-agent-sandbox-image:
304-
image: undefined:v0.1
305-
profiles:
306-
- prepull
307319

308320
# AI Proxy
309321
fastgpt-aiproxy:
@@ -375,10 +387,10 @@ configs:
375387
376388
[runtime]
377389
type = "docker"
378-
execd_image = "sandbox-registry.cn-zhangjiakou.cr.aliyuncs.com/opensandbox/execd:v1.0.6"
390+
execd_image = "opensandbox/execd:v1.0.7"
379391
380392
[egress]
381-
image = "sandbox-registry.cn-zhangjiakou.cr.aliyuncs.com/opensandbox/egress:v1.0.1"
393+
image = "opensandbox/egress:v1.0.3"
382394
383395
[docker]
384396
network_mode = "bridge"

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

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ services:
240240
# ==================== Agent sandbox 配置 ====================
241241
AGENT_SANDBOX_PROVIDER: opensandbox
242242
# OpenSandbox 配置(PROVIDER: opensandbox 时生效)
243-
AGENT_SANDBOX_OPENSANDBOX_BASEURL: http://fastgpt-opensandbox-server:8090
243+
AGENT_SANDBOX_OPENSANDBOX_BASEURL: http://opensandbox-server:8090
244244
AGENT_SANDBOX_OPENSANDBOX_API_KEY:
245245
AGENT_SANDBOX_OPENSANDBOX_RUNTIME: docker
246246
AGENT_SANDBOX_OPENSANDBOX_IMAGE_REPO: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-agent-sandbox
@@ -330,7 +330,7 @@ services:
330330
networks:
331331
- fastgpt
332332
ports:
333-
- 3005:3000
333+
- 3003:3000
334334
restart: always
335335
environment:
336336
<<: [*x-log-config]
@@ -362,7 +362,7 @@ services:
362362
# 沙盒控制器:管理 Docker 容器的创建/执行/停止/删除
363363
# runtime=docker 模式需要挂载 Docker socket
364364
# 配置 docker.host_ip 为宿主机 LAN IP(容器内访问宿主机服务用)
365-
fastgpt-opensandbox-server:
365+
opensandbox-server:
366366
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-server:v0.1.9
367367
container_name: fastgpt-opensandbox-server
368368
restart: always
@@ -380,6 +380,19 @@ services:
380380
interval: 10s
381381
timeout: 5s
382382
retries: 5
383+
# Pre-pull only: not started by `docker compose up` (uses profile `prepull`).
384+
opensandbox-agent-sandbox-image:
385+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-agent-sandbox:v0.1
386+
profiles:
387+
- prepull
388+
opensandbox-execd-image:
389+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-execd:v1.0.7
390+
profiles:
391+
- prepull
392+
opensandbox-egress-image:
393+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-egress:v1.0.3
394+
profiles:
395+
- prepull
383396
# 卷管理微服务:负责幂等创建/删除 Docker named volume 或 k8s PVC
384397
fastgpt-volume-manager:
385398
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-agent-volume-manager:v0.1
@@ -407,11 +420,6 @@ services:
407420
interval: 10s
408421
timeout: 5s
409422
retries: 5
410-
# Pre-pull only: not started by `docker compose up` (uses profile `prepull`).
411-
fastgpt-agent-sandbox-image:
412-
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-agent-sandbox:v0.1
413-
profiles:
414-
- prepull
415423

416424
# AI Proxy
417425
fastgpt-aiproxy:
@@ -489,10 +497,10 @@ configs:
489497
490498
[runtime]
491499
type = "docker"
492-
execd_image = "sandbox-registry.cn-zhangjiakou.cr.aliyuncs.com/opensandbox/execd:v1.0.6"
500+
execd_image = "registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-execd:v1.0.7"
493501
494502
[egress]
495-
image = "sandbox-registry.cn-zhangjiakou.cr.aliyuncs.com/opensandbox/egress:v1.0.1"
503+
image = "registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-egress:v1.0.3"
496504
497505
[docker]
498506
network_mode = "bridge"

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

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ services:
217217
# ==================== Agent sandbox 配置 ====================
218218
AGENT_SANDBOX_PROVIDER: opensandbox
219219
# OpenSandbox 配置(PROVIDER: opensandbox 时生效)
220-
AGENT_SANDBOX_OPENSANDBOX_BASEURL: http://fastgpt-opensandbox-server:8090
220+
AGENT_SANDBOX_OPENSANDBOX_BASEURL: http://opensandbox-server:8090
221221
AGENT_SANDBOX_OPENSANDBOX_API_KEY:
222222
AGENT_SANDBOX_OPENSANDBOX_RUNTIME: docker
223223
AGENT_SANDBOX_OPENSANDBOX_IMAGE_REPO: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-agent-sandbox
@@ -307,7 +307,7 @@ services:
307307
networks:
308308
- fastgpt
309309
ports:
310-
- 3005:3000
310+
- 3003:3000
311311
restart: always
312312
environment:
313313
<<: [*x-log-config]
@@ -339,7 +339,7 @@ services:
339339
# 沙盒控制器:管理 Docker 容器的创建/执行/停止/删除
340340
# runtime=docker 模式需要挂载 Docker socket
341341
# 配置 docker.host_ip 为宿主机 LAN IP(容器内访问宿主机服务用)
342-
fastgpt-opensandbox-server:
342+
opensandbox-server:
343343
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-server:v0.1.9
344344
container_name: fastgpt-opensandbox-server
345345
restart: always
@@ -357,6 +357,19 @@ services:
357357
interval: 10s
358358
timeout: 5s
359359
retries: 5
360+
# Pre-pull only: not started by `docker compose up` (uses profile `prepull`).
361+
opensandbox-agent-sandbox-image:
362+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-agent-sandbox:v0.1
363+
profiles:
364+
- prepull
365+
opensandbox-execd-image:
366+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-execd:v1.0.7
367+
profiles:
368+
- prepull
369+
opensandbox-egress-image:
370+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-egress:v1.0.3
371+
profiles:
372+
- prepull
360373
# 卷管理微服务:负责幂等创建/删除 Docker named volume 或 k8s PVC
361374
fastgpt-volume-manager:
362375
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-agent-volume-manager:v0.1
@@ -384,11 +397,6 @@ services:
384397
interval: 10s
385398
timeout: 5s
386399
retries: 5
387-
# Pre-pull only: not started by `docker compose up` (uses profile `prepull`).
388-
fastgpt-agent-sandbox-image:
389-
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-agent-sandbox:v0.1
390-
profiles:
391-
- prepull
392400

393401
# AI Proxy
394402
fastgpt-aiproxy:
@@ -466,10 +474,10 @@ configs:
466474
467475
[runtime]
468476
type = "docker"
469-
execd_image = "sandbox-registry.cn-zhangjiakou.cr.aliyuncs.com/opensandbox/execd:v1.0.6"
477+
execd_image = "registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-execd:v1.0.7"
470478
471479
[egress]
472-
image = "sandbox-registry.cn-zhangjiakou.cr.aliyuncs.com/opensandbox/egress:v1.0.1"
480+
image = "registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-egress:v1.0.3"
473481
474482
[docker]
475483
network_mode = "bridge"

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

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ services:
198198
# ==================== Agent sandbox 配置 ====================
199199
AGENT_SANDBOX_PROVIDER: opensandbox
200200
# OpenSandbox 配置(PROVIDER: opensandbox 时生效)
201-
AGENT_SANDBOX_OPENSANDBOX_BASEURL: http://fastgpt-opensandbox-server:8090
201+
AGENT_SANDBOX_OPENSANDBOX_BASEURL: http://opensandbox-server:8090
202202
AGENT_SANDBOX_OPENSANDBOX_API_KEY:
203203
AGENT_SANDBOX_OPENSANDBOX_RUNTIME: docker
204204
AGENT_SANDBOX_OPENSANDBOX_IMAGE_REPO: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-agent-sandbox
@@ -288,7 +288,7 @@ services:
288288
networks:
289289
- fastgpt
290290
ports:
291-
- 3005:3000
291+
- 3003:3000
292292
restart: always
293293
environment:
294294
<<: [*x-log-config]
@@ -320,7 +320,7 @@ services:
320320
# 沙盒控制器:管理 Docker 容器的创建/执行/停止/删除
321321
# runtime=docker 模式需要挂载 Docker socket
322322
# 配置 docker.host_ip 为宿主机 LAN IP(容器内访问宿主机服务用)
323-
fastgpt-opensandbox-server:
323+
opensandbox-server:
324324
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-server:v0.1.9
325325
container_name: fastgpt-opensandbox-server
326326
restart: always
@@ -338,6 +338,19 @@ services:
338338
interval: 10s
339339
timeout: 5s
340340
retries: 5
341+
# Pre-pull only: not started by `docker compose up` (uses profile `prepull`).
342+
opensandbox-agent-sandbox-image:
343+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-agent-sandbox:v0.1
344+
profiles:
345+
- prepull
346+
opensandbox-execd-image:
347+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-execd:v1.0.7
348+
profiles:
349+
- prepull
350+
opensandbox-egress-image:
351+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-egress:v1.0.3
352+
profiles:
353+
- prepull
341354
# 卷管理微服务:负责幂等创建/删除 Docker named volume 或 k8s PVC
342355
fastgpt-volume-manager:
343356
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-agent-volume-manager:v0.1
@@ -365,11 +378,6 @@ services:
365378
interval: 10s
366379
timeout: 5s
367380
retries: 5
368-
# Pre-pull only: not started by `docker compose up` (uses profile `prepull`).
369-
fastgpt-agent-sandbox-image:
370-
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-agent-sandbox:v0.1
371-
profiles:
372-
- prepull
373381

374382
# AI Proxy
375383
fastgpt-aiproxy:
@@ -447,10 +455,10 @@ configs:
447455
448456
[runtime]
449457
type = "docker"
450-
execd_image = "sandbox-registry.cn-zhangjiakou.cr.aliyuncs.com/opensandbox/execd:v1.0.6"
458+
execd_image = "registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-execd:v1.0.7"
451459
452460
[egress]
453-
image = "sandbox-registry.cn-zhangjiakou.cr.aliyuncs.com/opensandbox/egress:v1.0.1"
461+
image = "registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-egress:v1.0.3"
454462
455463
[docker]
456464
network_mode = "bridge"

0 commit comments

Comments
 (0)