Skip to main content

Enviroment Variables

 GitHub-logo.png   Docker-logo.png

 Beszel Homepage

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

NameDefaultDescription
CSPunsetAdds a  Content-Security-Policy  header with this value.
DISABLE_PASSWORD_AUTHfalseDisables password authentication.
USER_CREATIONfalseEnables automatic user creation for OAuth2 / OIDC.

Agent

NameDefaultDescription
DOCKER_HOSTunsetOverrides the docker host (docker.sock) if using a proxy. Relevant when using  linuxserver/docker-socket-proxy  or similar.
EXTRA_FILESYSTEMSunsetMonitor extra disks if using the binary agent. See  Additional Disks .
FILESYSTEMunsetDevice, partition, or mount point to use for root disk stats.
KEYunsetPublic SSH key to use for authentication (provided by the Hub).
LOG_LEVELinfoLogging level. Valid values: