Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add a docker-compose with grafana, prometheus, redis-timeseries
  • Loading branch information
danni-m committed Mar 19, 2019
1 parent 652adc0 commit d56883d
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .dockerignore
@@ -1,4 +1,5 @@
.*
Dockerfile
bin/
build/
build/
compose/
20 changes: 20 additions & 0 deletions compose/docker-compose.yaml
@@ -0,0 +1,20 @@
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:
image: grafana/grafana
ports:
- "3000:3000"
2 changes: 2 additions & 0 deletions compose/prometheus.yaml
@@ -0,0 +1,2 @@
remote_read:
- url: "http://adapter:9201/read"

0 comments on commit d56883d

Please sign in to comment.