forked from HYmian/monitor
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
100 lines (100 loc) · 2.46 KB
/
docker-compose.yml
File metadata and controls
100 lines (100 loc) · 2.46 KB
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
version: '2'
services:
rancher-scollector:
image: registry.cn-shenzhen.aliyuncs.com/mian/scollector:1.0
environment:
ENVIRONMENT: default
TENANT: mian
network_mode: host
command:
- -f
- rancher
- -h
- bosun:8070
labels:
io.rancher.container.agent.role: environment
io.rancher.container.dns: 'true'
io.rancher.container.create_agent: 'true'
io.rancher.container.pull_image: always
bosun-conf:
image: ymian/bosun-conf:1.0.0-beta
labels:
io.rancher.container.pull_image: always
io.rancher.container.start_once: 'true'
bosun:
image: stackexchange/bosun:0.6.0-pre
environment:
TZ: Asia/Shanghai
volumes_from:
- bosun-conf
ports:
- 8070:8070/tcp
command:
- /bosun/bosun
- -c
- /data/bosun.toml
labels:
io.rancher.sidekicks: bosun-conf
io.rancher.container.hostname_override: container_name
io.rancher.container.pull_image: always
opentsdb-conf:
image: ymian/opentsdb-conf:latest
labels:
io.rancher.container.pull_image: always
io.rancher.container.start_once: 'true'
cadvisor:
image: google/cadvisor
volumes:
- /:/rootfs:ro
- /var/run:/var/run
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
ports:
- 9344:8080/tcp
labels:
io.rancher.container.hostname_override: container_name
io.rancher.container.pull_image: always
io.rancher.scheduler.global: 'true'
scollector:
image: registry.cn-shenzhen.aliyuncs.com/mian/scollector:1.0
environment:
ENVIRONMENT: default
TENANT: mian
ROOT_FS: /rootfs
network_mode: host
volumes:
- /:/rootfs:ro
- /sys:/sys:ro
command:
- -f
- cadvisor,cadvisor_host,host_disk
- -h
- bosun:8070
labels:
io.rancher.container.dns: 'true'
io.rancher.container.pull_image: always
io.rancher.scheduler.global: 'true'
opentsdb:
image: stackexchange/bosun:0.6.0-pre
environment:
TZ: Asia/Shanghai
JVMARGS: -Xmx4096M -Xms4096M
volumes_from:
- opentsdb-conf
ports:
- 4242:4242/tcp
command:
- bash
- /wise2c/boot.sh
labels:
io.rancher.sidekicks: opentsdb-conf
io.rancher.container.hostname_override: container_name
io.rancher.container.pull_image: always
redis:
image: redis:3.2
stdin_open: true
tty: true
ports:
- 6379:6379/tcp
labels:
io.rancher.container.pull_image: always