Skip to content

Grafana

WARNING

Manual editing is usually not required; you typically only need to fill in the main variables because there is a file that generates .env files for services.

WARNING

The full list of environment variables is available in the Grafana documentation.

VariableExamplePurpose
GF_SECURITY_ADMIN_USERadminUsername for the service admin account
GF_SECURITY_ADMIN_PASSWORDgrafanapasswordPassword for the service admin account
GF_USERS_ALLOW_SIGN_UPfalseWhether regular users are allowed to sign up via login/password
GF_SERVER_DOMAINunit.example.comDomain on which Grafana will run
GF_SERVER_ROOT_URL%(protocol)s://%(domain)s/grafana/Root URL for Grafana, used to shift the path with a prefix (e.g. grafana/)
GF_SERVER_SERVE_FROM_SUB_PATHtrueTells Grafana that it runs under a URL prefix
GF_LOG_LEVELerrorMinimum log level to write
GF_INSTALL_PLUGINSyesoreyeram-infinity-datasource,marcusolsson-hourly-heatmap-panelPlugins to install by default