forked from rancher/community-catalog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
99 lines (93 loc) · 3.02 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
elasticsearch-masters:
image: rancher/elasticsearch-conf:v0.4.0
labels:
io.rancher.container.hostname_override: container_name
io.rancher.sidekicks: elasticsearch-base-master,elasticsearch-datavolume-masters
elasticsearch-datavolume-masters:
labels:
elasticsearch.datanode.config.version: '0'
io.rancher.container.hostname_override: container_name
io.rancher.container.start_once: true
volumes:
- /usr/share/elasticsearch/data
entrypoint: /bin/true
image: elasticsearch:1.7.3
elasticsearch-base-master:
labels:
elasticsearch.master.config.version: '0'
io.rancher.container.hostname_override: container_name
image: elasticsearch:1.7.3
net: "container:elasticsearch-masters"
volumes_from:
- elasticsearch-masters
- elasticsearch-datavolume-masters
entrypoint:
- /opt/rancher/bin/run.sh
elasticsearch-datanodes:
image: rancher/elasticsearch-conf:v0.4.0
labels:
io.rancher.container.hostname_override: container_name
io.rancher.sidekicks: elasticsearch-base-datanode,elasticsearch-datavolume-datanode
io.rancher.scheduler.affinity:container_label_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name}
links:
- elasticsearch-masters:es-masters
elasticsearch-datavolume-datanode:
labels:
elasticsearch.datanode.config.version: '0'
io.rancher.container.hostname_override: container_name
io.rancher.container.start_once: true
volumes:
- /usr/share/elasticsearch/data
entrypoint: /bin/true
image: elasticsearch:1.7.3
elasticsearch-base-datanode:
labels:
elasticsearch.datanode.config.version: '0'
io.rancher.container.hostname_override: container_name
image: elasticsearch:1.7.3
links:
- elasticsearch-masters:es-masters
entrypoint:
- /opt/rancher/bin/run.sh
volumes_from:
- elasticsearch-datanodes
- elasticsearch-datavolume-datanode
net: "container:elasticsearch-datanodes"
elasticsearch-clients:
image: rancher/elasticsearch-conf:v0.4.0
labels:
io.rancher.container.hostname_override: container_name
io.rancher.sidekicks: elasticsearch-base-clients,elasticsearch-datavolume-clients
links:
- elasticsearch-masters:es-masters
elasticsearch-datavolume-clients:
labels:
elasticsearch.datanode.config.version: '0'
io.rancher.container.hostname_override: container_name
io.rancher.container.start_once: true
volumes:
- /usr/share/elasticsearch/data
entrypoint: /bin/true
image: elasticsearch:1.7.3
elasticsearch-base-clients:
labels:
elasticsearch.client.config.version: '0'
io.rancher.container.hostname_override: container_name
image: elasticsearch:1.7.3
volumes_from:
- elasticsearch-clients
- elasticsearch-datavolume-clients
net: "container:elasticsearch-clients"
entrypoint:
- /opt/rancher/bin/run.sh
kopf:
image: rancher/kopf:v0.4.0
ports:
- "80:80"
environment:
KOPF_SERVER_NAME: 'es.dev'
KOPF_ES_SERVERS: 'es-clients:9200'
labels:
io.rancher.container.hostname_override: container_name
links:
- elasticsearch-clients:es-clients