forked from open-source-labs/Docketeer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
90 lines (80 loc) · 2.37 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
version: '3.8'
services:
db:
container_name: docketeer-db
image: docketeerxiv/postgres:latest
restart: always
ports:
- '5432:5432'
volumes:
- ./imageConfigs/postgres/docketeerdb:/var/lib/postgresql/data/
environment:
POSTGRES_DB: 'docketeer-db'
POSTGRES_USER: 'postgres'
POSTGRES_PASSWORD: 'postgres'
cadvisor:
# Make sure your uploaded image is gcr.io/cadvisor/cadvisor:v0.47.1, latest isn't built for all platforms
image: docketeerxiv/cadvisor:latest
container_name: docketeer-cadvisor
ports:
- '8080:8080'
volumes:
- /:/rootfs:ro
- /var/run/docker.sock:/var/run/docker.sock:rw
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
- /etc/machine-id:/etc/machine-id:ro
labels:
org_prometheus_starter: 'true'
org_prometheus_starter_path: '/metrics'
node-exporter:
image: docketeerxiv/node-exporter
container_name: docketeer-node-exporter
ports:
- '9100:9100'
volumes:
#system info for linux machines
- /proc:/host/proc:ro
# also for linux
- /sys:/host/sys:ro
#root
- /:/rootfs:ro
depends_on:
- db
prometheus:
image: docketeerxiv/prometheus:latest
container_name: docketeer-prometheus
ports:
- '9090:9090'
volumes:
- ./imageConfigs/prometheus/promData:/prometheus
depends_on:
- node-exporter
labels:
org_prometheus_starter: 'true'
org_prometheus_starter_port: '9090'
org_prometheus_starter_path: '/metrics'
grafana:
image: docketeerxiv/grafana:latest
container_name: docketeer-grafana
ports:
- '2999:3000'
environment:
GF_PATHS_CONFIG: /etc/grafana/grafana.ini
GF_AUTH_ANONYMOUS_ENABLED: 'true'
volumes:
- ./imageConfigs/grafana/data:/var/lib/grafana
- ./imageConfigs/grafana/provisioning/dashboards:/etc/grafana/provisioning/dashboards
- ./imageConfigs/grafana/provisioning/datasources:/etc/grafana/provisioning/datasources
- ./imageConfigs/grafana/grafana.ini:/etc/grafana/grafana.ini
- ./imageConfigs/grafana/plugins:/var/lib/grafana/plugins
depends_on:
- prometheus
docketeer:
image: docketeerxiv/docketeer:14.0.0
container_name: docketeer
ports:
- '4000:4000'
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: npm start