diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 5194984bae..454567e924 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -26,6 +26,13 @@ services: profiles: - cpu image: ${RAGFLOW_IMAGE} + ulimits: + nofile: + soft: 65535 + hard: 65535 + nproc: + soft: 65535 + hard: 65535 # Example configuration to set up an MCP server: # command: # - --enable-mcpserver @@ -78,6 +85,13 @@ services: profiles: - gpu image: ${RAGFLOW_IMAGE} + ulimits: + nofile: + soft: 65535 + hard: 65535 + nproc: + soft: 65535 + hard: 65535 # Example configuration to set up an MCP server: # command: # - --enable-mcpserver