Environment Variables
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. |
EXTRA_FILESYSTEMS | unset | Monitor extra disks if using binary. 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 in hub. |
LOG_LEVEL | info | Logging level. Valid values: "debug", "info", "warn", "error". |
MEM_CALC | unset | Overrides the default memory calculation. |
NICS | unset | Whitelist of network interfaces to monitor for bandwidth. |
PORT | 45876 | Port or address:port to listen on. |
SENSORS | unset | Whitelist of temperature sensors to monitor. |
SYS_SENSORS | unset | Overrides 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.