diff --git a/docker-compose.yml b/docker-compose.yml index 5fb6045..0615205 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,6 +24,8 @@ services: volumes: - ./data/grafana:/var/lib/grafana/ - ./grafana/provisioning/:/etc/grafana/provisioning/ + environment: + - GRAFANA_QUESTDB_PASSWORD=quest networks: questdb: \ No newline at end of file diff --git a/grafana/provisioning/datasources/questdb.yaml b/grafana/provisioning/datasources/questdb.yaml index d5f086a..8103e3b 100644 --- a/grafana/provisioning/datasources/questdb.yaml +++ b/grafana/provisioning/datasources/questdb.yaml @@ -10,8 +10,6 @@ datasources: access: direct # url url: questdb:8812 - # Deprecated, use secureJsonData.password - password: quest # database user, if used user: admin # database name, if used @@ -22,3 +20,6 @@ datasources: editable: true jsonData: sslmode: disable + secureJsonData: + # Deprecated, use secureJsonData.password + password: ${GRAFANA_QUESTDB_PASSWORD} \ No newline at end of file