RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
docs(entrypoint): show every option usage() accepts (#18596)
MarMar Labsf796721ff25f
diff --git a/docker/entrypoint.sh b/docker/entrypoint.shindex 7979b7e72d..3078c35086 100755--- a/docker/entrypoint.sh+++ b/docker/entrypoint.sh@@ -9,19 +9,30 @@ cat /ragflow/VERSION# Usage and command-line argument parsing# -----------------------------------------------------------------------------function usage() {- echo "Usage: $0 [--disable-webserver] [--disable-taskexecutor] [--disable-datasync] [--consumer-no-beg=<num>] [--consumer-no-end=<num>] [--workers=<num>] [--host-id=<string>]"+ echo "Usage: $0 [OPTIONS]"echo- echo " --disable-webserver Disables the web server (nginx + ragflow_server)."- echo " --disable-taskexecutor Disables task executor workers."- echo " --disable-datasync Disables synchronization of datasource workers."- echo " --enable-mcpserver Enables the MCP server."- echo " --enable-adminserver Enables the Admin server."- echo " --init-model-provider-tables Run model provider table migrations and exit."- echo " --init-superuser Initializes the superuser."- echo " --consumer-no-beg=<num> Start range for consumers (if using range-based)."- echo " --consumer-no-end=<num> End range for consumers (if using range-based)."- echo " --workers=<num> Number of task executors to run (if range is not used)."- echo " --host-id=<string> Unique ID for the host (defaults to \`hostname\`)."+ echo " --disable-webserver Disables the web server (nginx + ragflow_server)."+ echo " --disable-taskexecutor Disables task executor workers."+ echo " --disable-datasync Disables synchronization of datasource workers."+ echo " --enable-mcpserver Enables the MCP server."+ echo " --enable-adminserver Enables the Admin server."+ echo " --init-model-provider-tables Run model provider table migrations and exit."+ echo " --init-superuser Initializes the superuser."+ echo " --consumer-no-beg=<num> Start range for consumers (if using range-based)."+ echo " --consumer-no-end=<num> End range for consumers (if using range-based)."+ echo " --workers=<num> Number of task executors to run (if range is not used)."+ echo " --host-id=<string> Unique ID for the host (defaults to \`hostname\`)."+ echo " --mcp-host=<string> Address the MCP server binds to (default: 127.0.0.1)."+ echo " --mcp-port=<num> Port the MCP server listens on (default: 9382)."+ echo " --mcp-base-url=<string> RAGFlow base URL the MCP server calls (default: http://127.0.0.1:9380)."+ echo " --mcp-script-path=<path> MCP server entry script (default: /ragflow/mcp/server/server.py)."+ echo " --mcp-mode=<self-host|host> MCP server mode (default: self-host)."+ echo " --mcp-host-api-key=<string> API key required when --mcp-mode=self-host."+ echo " --no-transport-sse-enabled Disables the MCP SSE transport."+ echo " --no-transport-streamable-http-enabled Disables the MCP streamable HTTP transport. Disabling"+ echo " both transports re-enables this one, since the server"+ echo " requires at least one."+ echo " --no-json-response Disables JSON responses from the MCP server."echoecho "Examples:"echo " $0 --disable-taskexecutor"