diff --git a/SELF_HOST.md b/SELF_HOST.md index acccddbc..60b70afa 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: