Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fix: Add SANDBOX_EXECUTOR_MANAGER_ALLOW_UNAUTHENTICATED (#20889)

Wang Qi1ebae7a1485d
diff --git a/docker/.env b/docker/.env
index b3a566a3bb..0d6aa56d37 100644
--- a/docker/.env
+++ b/docker/.env
@@ -444,7 +444,8 @@ ENABLE_REGISTER=1
# (Authorization: Bearer or X-Sandbox-Token). The same value is injected into
# RAGFlow. Current Sandbox source rejects /run without configured authentication;
# verify the behavior of the published image version you deploy.
-# Generate one with: openssl rand -hex 32
+# Generate token with: openssl rand -hex 32
+# SANDBOX_EXECUTOR_MANAGER_ALLOW_UNAUTHENTICATED=true
# SANDBOX_EXECUTOR_MANAGER_API_TOKEN=
# Docker network used for sandbox runner containers. "none" (default) means
diff --git a/docker/docker-compose-base.yml b/docker/docker-compose-base.yml
index 2db694e1bc..eedc41d234 100644
--- a/docker/docker-compose-base.yml
+++ b/docker/docker-compose-base.yml
@@ -241,6 +241,7 @@ services:
# Shared secret for the /run API. Set it in .env (same value is passed
# to the ragflow service). Current Sandbox source rejects unconfigured
# authentication; verify the behavior of the deployed image version.
+ - SANDBOX_EXECUTOR_MANAGER_ALLOW_UNAUTHENTICATED=${SANDBOX_EXECUTOR_MANAGER_ALLOW_UNAUTHENTICATED:-false}
- SANDBOX_EXECUTOR_MANAGER_API_TOKEN=${SANDBOX_EXECUTOR_MANAGER_API_TOKEN:-}
# Sandbox runner containers get no external network by default.
- SANDBOX_CONTAINER_NETWORK=${SANDBOX_CONTAINER_NETWORK:-none}