-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
142 lines (133 loc) · 3.34 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
version: "3"
services:
grafana:
image: grafana/grafana:10.2.4
volumes:
- /dev/log:/dev/log
- ${PWD}/etc_grafana/:/etc/grafana/
- ${PWD}/var_lib_grafana/:/var/lib/grafana/
- ${PWD}/usr_share_grafana_public_img:/usr/share/grafana/public/img/weka
restart: always
ports:
- "3000:3000"
logging:
options:
max-file: "5"
max-size: "15m"
loki:
image: grafana/loki:2.8.10
volumes:
- /dev/log:/dev/log
- ${PWD}/etc_loki:/etc/loki
- ${PWD}/loki_data:/loki
command: -config.file=/etc/loki/loki-config.yaml
restart: always
ports:
- "3100:3100"
logging:
options:
max-file: "5"
max-size: "15m"
prometheus:
image: prom/prometheus:v2.50.1
volumes:
- /dev/log:/dev/log
- /etc/hosts:/etc/hosts
- ${PWD}/etc_prometheus:/etc/prometheus
- ${PWD}/prometheus_data:/prometheus
command: --storage.tsdb.retention.size=20GB --config.file=/etc/prometheus/prometheus.yml
restart: always
#ports:
# - "9090:9090"
logging:
options:
max-file: "5"
max-size: "15m"
alertmanager:
image: prom/alertmanager:v0.27.0
volumes:
- /dev/log:/dev/log
- ${PWD}/etc_alertmanager:/etc/alertmanager
command:
- "--config.file=/etc/alertmanager/alertmanager.yml"
- "--log.level=debug"
- "--web.external-url=http://buckaroo:9093/"
# - "--web.external-url=http://hostname-here:9093/" # SET THIS SO ALERT EMAILS HAVE A LINK TO IT
#restart: always
ports:
- "9093:9093"
logging:
options:
max-file: "5"
max-size: "15m"
export:
image: wekasolutions/export:1.8.2
volumes:
- /dev/log:/dev/log
- ${PWD}/.weka:/weka/.weka
- /etc/hosts:/etc/hosts
- ${PWD}/export.yml:/weka/export.yml
command: -v
restart: always
ports:
- "8001:8001"
logging:
options:
max-file: "5"
max-size: "15m"
# example of adding another exporter for a second cluster:
#cst-export:
# image: wekasolutions/export:1.7.0
# volumes:
# - /dev/log:/dev/log
# - ${HOME}/.weka:/weka/.weka
# - /etc/hosts:/etc/hosts
# - ${PWD}/cst-export.yml:/weka/export.yml
# command: -v
# restart: always
# ports:
# - "8002:8002"
quota-export:
image: wekasolutions/quota-export:1.0.0
volumes:
- /dev/log:/dev/log
- ${PWD}/.weka:/weka/.weka
- /etc/hosts:/etc/hosts
- ${PWD}/quota-export.yml:/weka/quota-export.yml
restart: always
ports:
- "8101:8101"
logging:
options:
max-file: "5"
max-size: "15m"
hw_mon:
image: wekasolutions/hw_monitor:1.0.0
volumes:
- /dev/log:/dev/log
- /opt/weka-mon/.weka:/weka/.weka
- /etc/hosts:/etc/hosts
- /opt/weka-mon/hw_monitor.yml:/weka/hw_monitor.yml
- /opt/weka-mon/weka-cert.crt:/weka/weka-cert.crt
- /opt/weka-mon/private.key:/weka/private.key
command: -vvv
restart: always
ports:
- 8443:443
logging:
options:
max-file: '5'
max-size: 15m
snaptool:
image: wekasolutions/snaptool:1.6.1
volumes:
- /dev/log:/dev/log
- /etc/hosts:/etc/hosts
- /opt/weka-mon/:/weka/
restart: always
ports:
- 8090:8090
logging:
options:
max-file: '5'
max-size: 15m