This is an automated email from the ASF dual-hosted git repository.
klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-website.git
The following commit(s) were added to refs/heads/main by this push:
new af0972a513 docs: setup external grafana with docker-compose (#528)
af0972a513 is described below
commit af0972a513067755ad65e35a30c42b1fd3cbaa90
Author: Klesh Wong <[email protected]>
AuthorDate: Thu May 18 16:27:08 2023 +0800
docs: setup external grafana with docker-compose (#528)
---
docs/GettingStarted/DockerComposeSetup.md | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/docs/GettingStarted/DockerComposeSetup.md
b/docs/GettingStarted/DockerComposeSetup.md
index cb9c053857..3a295e3e9d 100644
--- a/docs/GettingStarted/DockerComposeSetup.md
+++ b/docs/GettingStarted/DockerComposeSetup.md
@@ -133,7 +133,16 @@ volumes:
grafana-storage:
```
-3. Set config-ui.environment.GRAFANA_ENDPOINT to your own grafana url in
docker-compose.yml
+3. Set up the `config-ui` container to adopt the external Grafana in the
`docker-compose.yml`
+
+ ```yaml
+ config-ui:
+ ...
+ environment:
+ USE_EXTERNAL_GRAFANA: "true"
+ GRAFANA_ENDPOINT: "http://grafana.example.com"
+ ...
+ ```
4. Please connect your Grafana to DevLake's database by following
https://grafana.com/docs/grafana/latest/administration/data-source-management/