feat(docker): add grafana
Continuous Integration / pre-commit (push) Has been cancelled
Continuous Integration / docker-compose (push) Has been cancelled
Continuous Integration / terraform (bohr) (push) Has been cancelled
Continuous Integration / terraform (galana) (push) Has been cancelled
Continuous Integration / terraform (tana) (push) Has been cancelled
Continuous Integration / terraform (turkwel) (push) Has been cancelled
Continuous Integration / terraform (yala) (push) Has been cancelled
Continuous Integration / ansible (push) Has been cancelled

Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
This commit is contained in:
Rodney Osodo
2026-07-06 08:58:47 +00:00
parent ca62a1c14d
commit a13cb04d07
2 changed files with 5 additions and 3 deletions
@@ -3,6 +3,7 @@ services:
container_name: grafana
image: docker.io/grafana/grafana:13.1.0
restart: unless-stopped
user: root
networks:
- homelab-network
security_opt:
@@ -13,6 +14,7 @@ services:
- GF_SECURITY_ADMIN_USER=${GRAFANA_ADMIN_USER}
- GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_ADMIN_PASSWORD}
- GF_INSTALL_PLUGINS=
- GF_PLUGINS_ENABLE_UPDATES=false
volumes:
- ~/docker-volumes/grafana/data:/var/lib/grafana
- ./docker-compose/grafana/provisioning/datasources:/etc/grafana/provisioning/datasources
@@ -1,10 +1,10 @@
apiVersion: 1
datasources:
- name: Prometheus
uid: prometheus
- name: VictoriaMetrics
uid: victoriametrics
type: prometheus
access: proxy
url: http://victoria-metrics:8428
url: http://victoria-metrics:4082
isDefault: true
editable: false