# Enviroment Variables ## [ ![GitHub-logo.png](https://wiki.aeoneros.com/uploads/images/gallery/2025-01/scaled-1680-/814rhr5FohzOPEav-github-logo.png) ](https://github.com/henrygd/beszel) [ ![Docker-logo.png](https://wiki.aeoneros.com/uploads/images/gallery/2024-09/scaled-1680-/rfuZed4CizAXYqTM-logo.png) ](https://hub.docker.com/r/henrygd/beszel-agent) ## [ ![Beszel Homepage](https://wiki.aeoneros.com/uploads/images/gallery/2025-02/scaled-1680-/BLfnb6csoxA8Q8dk-2025-02-01-23-19-45-beszel-simple-lightweight-server-monitoring-brave.png) ](https://beszel.dev/) ## 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](https://beszel.dev/guide/environment-variables). --- ## Hub
NameDefaultDescription
`CSP`unsetAdds a [ Content-Security-Policy ](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy) header with this value.
`DISABLE_PASSWORD_AUTH`falseDisables password authentication.
`USER_CREATION`falseEnables automatic user creation for OAuth2 / OIDC.
--- ## Agent
NameDefaultDescription
`DOCKER_HOST`unsetOverrides the docker host (`docker.sock`) if using a proxy. Relevant when using [ linuxserver/docker-socket-proxy ](https://github.com/linuxserver/docker-socket-proxy) or similar.
`EXTRA_FILESYSTEMS`unsetMonitor extra disks if using the binary agent. See [ Additional Disks ](https://beszel.dev/guide/additional-disks).
`FILESYSTEM`unsetDevice, partition, or mount point to use for root disk stats.
`KEY`unsetPublic SSH key to use for authentication (provided by the Hub).
`LOG_LEVEL`infoLogging level. Valid values: ``