Skip to content

Environment Variables

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.
EXTRA_FILESYSTEMSunsetMonitor extra disks if using binary. See Additional Disks.
FILESYSTEMunsetDevice, partition, or mount point to use for root disk stats.
KEYunsetPublic SSH key to use for authentication. Provided in hub.
LOG_LEVELinfoLogging level. Valid values: "debug", "info", "warn", "error".
MEM_CALCunsetOverrides the default memory calculation.
NICSunsetWhitelist of network interfaces to monitor for bandwidth.
PORT45876Port or address:port to listen on.
SENSORSunsetWhitelist of temperature sensors to monitor.
SYS_SENSORSunsetOverrides sys path for sensors. See #160.

DOCKER_HOST

Beszel only needs access to read container information. For linuxserver/docker-socket-proxy you would set CONTAINERS=1.

MEM_CALC

The default value for used memory is based on gopsutil's Used calculation, which should align fairly closely with free. Set MEM_CALC to htop to align with htop's calculation.

Released under the MIT License