mirror of
https://github.com/labring/FastGPT.git
synced 2026-04-26 02:07:28 +08:00
fix: community version check
This commit is contained in:
@@ -151,7 +151,7 @@ services:
|
||||
|
||||
fastgpt:
|
||||
container_name: fastgpt
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.9.5 # git
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.9.5
|
||||
ports:
|
||||
- 3000:3000
|
||||
networks:
|
||||
@@ -320,9 +320,11 @@ services:
|
||||
# runtime=docker 模式需要挂载 Docker socket
|
||||
# 配置 docker.host_ip 为宿主机 LAN IP(容器内访问宿主机服务用)
|
||||
opensandbox-server:
|
||||
image: opensandbox/server:v0.1.9
|
||||
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/opensandbox-server:v0.1.9
|
||||
container_name: opensandbox-server
|
||||
restart: always
|
||||
ports: # 生产环境建议不要暴露
|
||||
- 8090:8090
|
||||
networks:
|
||||
- fastgpt
|
||||
volumes:
|
||||
@@ -331,7 +333,7 @@ services:
|
||||
- source: opensandbox-config
|
||||
target: /etc/opensandbox/config.toml
|
||||
environment:
|
||||
- SANDBOX_CONFIG_PATH=/etc/opensandbox/config.toml
|
||||
SANDBOX_CONFIG_PATH: /etc/opensandbox/config.toml
|
||||
healthcheck:
|
||||
test: ['CMD', 'curl', '-f', 'http://localhost:8090/health']
|
||||
interval: 10s
|
||||
@@ -347,10 +349,10 @@ services:
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro # Docker 模式必须挂载(只读即可)
|
||||
environment:
|
||||
- VM_RUNTIME=docker
|
||||
- VM_AUTH_TOKEN=*x-volume-manager-auth-token # 对应 AGENT_SANDBOX_VOLUME_MANAGER_TOKEN
|
||||
- VM_VOLUME_NAME_PREFIX=fastgpt-session # volume 名称前缀
|
||||
- VM_LOG_LEVEL=info
|
||||
VM_RUNTIME: docker
|
||||
VM_AUTH_TOKEN: *x-volume-manager-auth-token # 对应 AGENT_SANDBOX_VOLUME_MANAGER_TOKEN
|
||||
VM_VOLUME_NAME_PREFIX: fastgpt-session # volume 名称前缀
|
||||
VM_LOG_LEVEL: info
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
@@ -416,6 +418,7 @@ networks:
|
||||
vector:
|
||||
|
||||
configs:
|
||||
|
||||
opensandbox-config:
|
||||
content: |
|
||||
[server]
|
||||
|
||||
Reference in New Issue
Block a user