Self-hostInstallatie- en implementatiehandleidingen

Environment Variables

Some features of Bitwarden are not configured by the bitwarden.sh installer. Configure these settings by editing the environment file, located at ./bwdata/env/global.override.env. This .env file comes pre-baked with configurable variables (see Included variables), however there are additional variables which can be manually added (see Optional variables).

Whenever you make changes to global.override.env, perform a ./bitwarden.sh restart to apply your changes.

note

The information in this article may not apply to Bitwarden Lite self-hosted deployments.

Included variables

The following variables are among those that already exist in global.override.env:

Optional variables

The following variables do not already exist in global.override.env, and can be manually added:

Refresh token variables

Refresh token variables allow you to change the timeout of tokens. Administrators can use these values, for example, to require users to log in every day. Use the following variables to configure the handling of refresh tokens by your server: