mirror of
https://github.com/rodneyosodo/homelab.git
synced 2026-08-07 07:15:03 +00:00
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
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user