You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 7, 2018. It is now read-only.
Hi,
we are using Grafana in Docker in version 5.2.0-beta1. When using GF_AUTH_LDAP_CONFIG_FILE=/etc/grafana/... and GF_SERVER_CERT_FILE=/etc/grafana... they are not respected due to the parsing logic in the start script which replaces each config variable ending with _FILE by its content and unsetting the env variable.
{"logger":"settings","lvl":"info","msg":"Config overridden from Environment variable","t":"2018-06-12T11:25:36.852298014Z","var":"GF_PATHS_DATA=/var/lib/grafana"}
{"logger":"settings","lvl":"info","msg":"Config overridden from Environment variable","t":"2018-06-12T11:25:36.85233837Z","var":"GF_PATHS_LOGS=/var/log/grafana"}
{"logger":"settings","lvl":"info","msg":"Config overridden from Environment variable","t":"2018-06-12T11:25:36.852387193Z","var":"GF_PATHS_PLUGINS=/var/lib/grafana/plugins"}
{"logger":"settings","lvl":"info","msg":"Config overridden from Environment variable","t":"2018-06-12T11:25:36.852428025Z","var":"GF_PATHS_PROVISIONING=/etc/grafana/provisioning"}
{"logger":"settings","lvl":"info","msg":"Config overridden from Environment variable","t":"2018-06-12T11:25:36.852502829Z","var":"GF_SERVER_PROTOCOL=https"}
{"logger":"settings","lvl":"info","msg":"Config overridden from Environment variable","t":"2018-06-12T11:25:36.852554587Z","var":"GF_SERVER_HTTP_PORT=443"}
{"logger":"settings","lvl":"info","msg":"Config overridden from Environment variable","t":"2018-06-12T11:25:36.852595502Z","var":"GF_SERVER_CERT_KEY=/etc/grafana/ssl/key.pem"}
{"logger":"settings","lvl":"info","msg":"Config overridden from Environment variable","t":"2018-06-12T11:25:36.852670303Z","var":"GF_SECURITY_ADMIN_USER=admin"}
{"logger":"settings","lvl":"info","msg":"Config overridden from Environment variable","t":"2018-06-12T11:25:36.85271507Z","var":"GF_SECURITY_ADMIN_PASSWORD="}
{"logger":"settings","lvl":"info","msg":"Config overridden from Environment variable","t":"2018-06-12T11:25:36.852755517Z","var":"GF_SECURITY_SECRET_KEY="}
{"logger":"settings","lvl":"info","msg":"Config overridden from Environment variable","t":"2018-06-12T11:25:36.852818743Z","var":"GF_AUTH_LDAP_ENABLED=true"}
{"logger":"settings","lvl":"info","msg":"Config overridden from Environment variable","t":"2018-06-12T11:25:36.852858812Z","var":"GF_LOG_CONSOLE_FORMAT=json"}
As you can see GF_SERVER_CERT_FILE and GF_AUTH_LDAP_CONFIG_FILE are not respected.
The text was updated successfully, but these errors were encountered:
Hi,
we are using Grafana in Docker in version
5.2.0-beta1
. When usingGF_AUTH_LDAP_CONFIG_FILE=/etc/grafana/...
andGF_SERVER_CERT_FILE=/etc/grafana...
they are not respected due to the parsing logic in the start script which replaces each config variable ending with_FILE
by its content and unsetting the env variable.Docker command:
Output when Grafana starts:
As you can see
GF_SERVER_CERT_FILE
andGF_AUTH_LDAP_CONFIG_FILE
are not respected.The text was updated successfully, but these errors were encountered: