Opensandbox (#6657)

* Opensandbox (#6651)

* volumn manager

* feat: opensandbox volumn

* perf: action (#6654)

* perf: action

* doc

* doc

* deploy tml

* update template
This commit is contained in:
Archer
2026-03-26 18:25:57 +08:00
committed by GitHub
parent d0f96723ea
commit cc3a91d009
114 changed files with 1966 additions and 953 deletions
+25
View File
@@ -0,0 +1,25 @@
# 服务监听端口
VM_PORT=3000
# 复制为 .env 后修改
# 鉴权 Token(必填),FastGPT 侧对应 AGENT_SANDBOX_VOLUME_MANAGER_TOKEN
VM_AUTH_TOKEN=changeme
# 运行时类型:dockerDocker named volume)或 kubernetesk8s PVC
VM_RUNTIME=docker
# Docker socket 路径(仅 docker 模式)
VM_DOCKER_SOCKET=/var/run/docker.sock
# k8s 命名空间(仅 kubernetes 模式)
VM_K8S_NAMESPACE=opensandbox
# k8s StorageClass 名称(仅 kubernetes 模式)
VM_K8S_PVC_STORAGE_CLASS=standard
# k8s PVC 容量(仅 kubernetes 模式)
VM_K8S_PVC_STORAGE_SIZE=1Gi
# volume 名称前缀,最终 volume 名为 {prefix}-{sessionId hash}
VM_VOLUME_NAME_PREFIX=fastgpt-session
# 日志级别:debug | info | none
VM_LOG_LEVEL=info