Enviroment Variables
Beszel Environment Variables
Below is a comprehensive list of environment variables for both the Beszel Hub and the Agent. These variables control functionality such as content security policies, OAuth/OIDC behavior, filesystem monitoring, and more. For additional details, refer to the official Beszel Environment Variables Guide.
Hub
Name |
Default |
Description |
CSP |
unset |
Adds a Content-Security-Policy header with this value. |
DISABLE_PASSWORD_AUTH |
false |
Disables password authentication. |
USER_CREATION |
false |
Enables automatic user creation for OAuth2 / OIDC. |
Agent
Name |
Default |
Description |
DOCKER_HOST |
unset |
Overrides the docker host (docker.sock ) if using a proxy. Relevant when using linuxserver/docker-socket-proxy or similar. |
EXTRA_FILESYSTEMS |
unset |
Monitor extra disks if using the binary agent. See Additional Disks . |
FILESYSTEM |
unset |
Device, partition, or mount point to use for root disk stats. |
KEY |
unset |
Public SSH key to use for authentication (provided by the Hub). |
LOG_LEVEL |
info |
Logging level. Valid values:
|
No Comments