-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose-rq-monitor.yml
55 lines (52 loc) · 1.48 KB
/
docker-compose-rq-monitor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
services:
dashboard:
image: eoranged/rq-dashboard
command: -u redis://redis:6379/0
ports:
- target: 9181
published: 9181
protocol: tcp
mode: host
prometheus:
image: prom/prometheus:v2.17.2
ports:
- target: 9090
published: 9090
protocol: tcp
mode: host
volumes:
- type: bind
source: ./grafana/prometheus.yml
target: /etc/prometheus/prometheus.yml
grafana:
image: grafana/grafana:6.7.3
ports:
- target: 3000
published: 4000
protocol: tcp
mode: host
environment:
GF_SECURITY_ADMIN_USER: admin
GF_SECURITY_ADMIN_PASSWORD: admin
volumes:
# Grafana datasources
# https://grafana.com/docs/grafana/latest/administration/provisioning/#datasources
- type: bind
source: ./grafana/grafana-datasources.yml
target: /etc/grafana/provisioning/datasources/datasources.yaml
# Grafana dashboards config
# https://grafana.com/docs/grafana/latest/administration/provisioning/#dashboards
- type: bind
source: ./grafana/grafana-dashboards.yml
target: /etc/grafana/provisioning/dashboards/dashboards.yaml
# # RQ dashboard
- type: bind
source: ./grafana/rq-dashboard.json
target: /etc/grafana/dashboards/rq-dashboard.json
# Grafana data
- type: volume
source: grafana_data
target: /var/lib/grafana
volumes:
grafana_data:
driver: local