src/server/constants.js.
Core Variables
Execution
When set, Figranium queues incoming execution requests that exceed the limit and processes them in order as slots free up. Leave unset (or set to
0) for unlimited concurrency — this is the default and matches the behavior of earlier versions.
This is useful when running on resource-constrained hosts or when you want to prevent a burst of scheduled tasks from overwhelming the browser pool.
Rate Limiting
VNC / Headful Debugging
Feature Flags
Example .env File
Notes
- Allow Private Networks: By default,
ALLOW_PRIVATE_NETWORKSisfalse, meaning Figranium blocks requests to private and internal network addresses. If you need to scrape services on your local network (e.g., during development), set this totrue. - Session Secret: If
SESSION_SECRETis not provided, figranium will generate a random one on startup (or read fromdata/session_secret.txtif available). However, for consistent sessions across restarts, set a static secret. - Allowed IPs: If you expose figranium to the internet, always restrict access using
ALLOWED_IPSor authentication.