Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

docs: add MAX_RAM and MAX_CPU environment variables documentation (#1581)

devin-ai-integration[bot]c7bb9e77abf1
diff --git a/SELF_HOST.md b/SELF_HOST.md
index acccddbc1..60b70afa5 100644
--- a/SELF_HOST.md
+++ b/SELF_HOST.md
@@ -103,6 +103,15 @@ BULL_AUTH_KEY=CHANGEME
# Set if you'd like to send posthog events like job logs
# POSTHOG_API_KEY=
# POSTHOG_HOST=
+
+## === System Resource Configuration ===
+# Maximum CPU usage threshold (0.0-1.0). Server will reject new connections when CPU usage exceeds this value.
+# Default: 0.8 (80%)
+# MAX_CPU=0.8
+
+# Maximum RAM usage threshold (0.0-1.0). Server will reject new connections when memory usage exceeds this value.
+# Default: 0.8 (80%)
+# MAX_RAM=0.8
```
3. Build and run the Docker containers: