Skip to content

Instantly share code, notes, and snippets.

@ajeetraina
Created January 14, 2022 05:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajeetraina/efe01e4282fbfa59f18d38c36b57488f to your computer and use it in GitHub Desktop.
Save ajeetraina/efe01e4282fbfa59f18d38c36b57488f to your computer and use it in GitHub Desktop.
Docker Compose for Monitoring Prometheus and Grafana
version: '3'
services:
prometheus:
image: "prom/prometheus:v2.8.0"
command: [" - config.file=/prometheus.yml"]
volumes:
- ./prometheus.yaml:/prometheus.yml
ports:
- 9090:9090
adapter:
image: "redislabs/prometheus-redistimeseries-adapter:master"
command: ["-redis-address", "redis:6379", "-web.listen-address", "0.0.0.0:9201"]
redis:
image: "redislabs/redistimeseries:edge"
ports:
- "6379:6379"
grafana:
build: ./grafana/
ports:
- "3000:3000"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment