-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathdocker-compose-CDV-test.yml
66 lines (56 loc) · 1.35 KB
/
docker-compose-CDV-test.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
#
# Description:
# ------------
#
# This is a small test case that creates two enterprise managers running in Collector mode (each having their
# own database). For each of these collectors a sample application (simple EPAgent) is connected in order for
# us to see some data.
# A central enterprise manager running as cross-cluster-viewer (cdv) is used to read the data from these
# enterprise managers and provide them with a webui.
#
# A similar example (with added MOMs) can also be run in production like environments. This shows how easy
# the setup of Introscope can be with the help of Docker.
#
cdv:
build: enterprise-manager/9.6.0.0
links:
- cdvdb:db
- collector1:em1
- collector2:em2
environment:
- HEAP=1024m
- CLUSTER_ROLE=CDV
cdvdb:
build: database/9.6.0.0
cdvwebview:
build: webview/9.6.0.0
links:
- cdv:em
ports:
- "8080:8080"
collector1:
build: enterprise-manager/9.6.0.0
links:
- collector1db:db
environment:
- HEAP=1024m
- CLUSTER_ROLE=Collector
collector1db:
build: database/9.6.0.0
sample1:
build: sample/9.6.0.0
links:
- collector1:em
collector2:
build: enterprise-manager/9.6.0.0
links:
- collector2db:db
environment:
- HEAP=1024m
- CLUSTER_ROLE=Collector
collector2db:
build: database/9.6.0.0
sample2:
build: sample/9.6.0.0
links:
- collector2:em