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

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: mogery@sideguide.dev <mogery@sideguide.dev>
This commit is contained in:
devin-ai-integration[bot] 2025-05-21 17:49:16 +02:00 committed by GitHub
parent b8ea4021c1
commit c7bb9e77ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: