forked from mtusi2026/mtusi2026lab6
feat(grafana): lab6 provision metrics, logs and traces data sources
This commit is contained in:
@@ -386,6 +386,25 @@ services:
|
||||
networks:
|
||||
- internal
|
||||
|
||||
grafana:
|
||||
image: grafana/grafana:13.3.0
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
GF_SECURITY_ADMIN_USER: "${GRAFANA_ADMIN_USER:-admin}"
|
||||
GF_SECURITY_ADMIN_PASSWORD: "${GRAFANA_ADMIN_PASSWORD:-admin}"
|
||||
GF_PLUGINS_PREINSTALL_SYNC: grafana-opensearch-datasource@2.34.7
|
||||
ports:
|
||||
- "127.0.0.1:${GRAFANA_PORT:-3000}:3000"
|
||||
volumes:
|
||||
- grafana_data:/var/lib/grafana
|
||||
- ./infra/grafana/provisioning/datasources:/etc/grafana/provisioning/datasources:ro
|
||||
depends_on:
|
||||
- prometheus
|
||||
- opensearch
|
||||
- jaeger
|
||||
networks:
|
||||
- internal
|
||||
|
||||
secrets:
|
||||
postgres_password:
|
||||
file: ./secrets/postgres_password
|
||||
@@ -410,6 +429,7 @@ volumes:
|
||||
prometheus_data:
|
||||
opensearch_data:
|
||||
jaeger_data:
|
||||
grafana_data:
|
||||
|
||||
networks:
|
||||
internal:
|
||||
|
||||
Reference in New Issue
Block a user