-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
63 lines (60 loc) · 1.71 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
version: '3'
services:
cassandra:
image: cassandra
restart: unless-stopped
cap_add:
- CAP_SYS_NICE # Cassandra use mbind on NUMA system
environment:
# Limit memory usage of Cassandra. On developper machine Cassandra don't need lots of RAM.
- MAX_HEAP_SIZE=128M
- HEAP_NEWSIZE=24M
labels:
# Glouton is the monitoring agent made by Bleemeo.
# On real setup of SquirrelDB, you probably want to monitor this component, but
# this docker compose is a quick-start used to test and evaluate SquirrelDB, so
# monitoring is disabled to avoid false notifications.
glouton.enable: "false"
volumes:
- cassandra-data:/var/lib/cassandra
squirreldb:
image: bleemeo/squirreldb
restart: unless-stopped
labels:
glouton.enable: "false"
ports:
- 127.0.0.1:9201:9201
environment:
- SQUIRRELDB_CASSANDRA_ADDRESSES=cassandra:9042
prometheus:
image: prom/prometheus
restart: unless-stopped
labels:
glouton.enable: "false"
volumes:
- ./examples/prometheus/sample-prometheus.yml:/etc/prometheus/prometheus.yml:ro
ports:
- 127.0.0.1:9090:9090
node:
image: prom/node-exporter
restart: unless-stopped
labels:
glouton.enable: "false"
volumes:
- /:/rootfs:ro,rslave
command: --path.rootfs=/rootfs
grafana:
image: grafana/grafana
restart: unless-stopped
labels:
glouton.enable: "false"
volumes:
- grafana-data:/var/lib/grafana
- ./examples/prometheus/provisioning:/etc/grafana/provisioning
environment:
- GF_SECURITY_ADMIN_PASSWORD=password
ports:
- 127.0.0.1:3000:3000
volumes:
cassandra-data: {}
grafana-data: {}