-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
43 lines (39 loc) · 938 Bytes
/
docker-compose.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
version: '3'
services:
prometheus:
image: prom/prometheus:v2.7.2
container_name: monitoring-prometheus
network_mode: host
ports:
- "9090:9090"
volumes:
- ./env/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
command:
- "--config.file=/etc/prometheus/prometheus.yml"
logging:
driver: none
grafana:
image: grafana/grafana:6.0.1
container_name: monitoring-grafana
network_mode: host
ports:
- "3000:3000"
volumes:
- ./env/grafana/provisioning:/etc/grafana/provisioning
- ./env/grafana/dashboards:/var/lib/grafana/dashboards
logging:
driver: none
depends_on:
- prometheus
redis:
image: redis
container_name: cache
ports:
- "6379:6379"
# r8:
# build: .
# environment:
# - R8_REDIS_ADDRESS=localhost:6379
# - R8_RULES_FILE=/env/rules.yaml
# volumes:
# - ./env:/env