This is an automated email from the ASF dual-hosted git repository. klesh pushed a commit to branch kwh-4121-external-grafana in repository https://gitbox.apache.org/repos/asf/incubator-devlake-website.git
commit cd4db0f4cf1cce16fde978e4541ff2154031b5e1 Author: Klesh Wong <[email protected]> AuthorDate: Tue May 16 15:11:38 2023 +0800 docs: setup external grafana with docker-compose --- 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 17a9e5124b..d5a96eeb10 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/
