From 93c80588bcddffd7df113386737165779d377b44 Mon Sep 17 00:00:00 2001 From: copy rogers <40619032+rogerogers@users.noreply.github.com> Date: Sun, 9 Jun 2024 18:08:05 +0800 Subject: [PATCH] chore: add grafana to docker-compose.yaml --- gomall/docker-compose.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gomall/docker-compose.yaml b/gomall/docker-compose.yaml index 8e9046a..80f8033 100644 --- a/gomall/docker-compose.yaml +++ b/gomall/docker-compose.yaml @@ -47,3 +47,11 @@ services: - "4222:4222" - "8222:8222" + grafana: + image: grafana/grafana:latest + environment: + - GF_AUTH_ANONYMOUS_ENABLED=true + - GF_AUTH_ANONYMOUS_ORG_ROLE=Admin + - GF_AUTH_DISABLE_LOGIN_FORM=true + ports: + - "3000:3000"