-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathlocal-compose.yml
50 lines (46 loc) · 1.09 KB
/
local-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
# Local testing version of Elasticsearch stack designed for
# container-native deployment on Joyent's Triton platform.
elasticsearch_master:
extends:
file: docker-compose.yml
service: elasticsearch
mem_limit: 512m
build: .
environment:
- CONSUL=consul
- ES_SERVICE_NAME=elasticsearch-master
- ES_NODE_MASTER=true
- ES_NODE_DATA=false
- CONTAINERPILOT=file:///etc/containerpilot.json
links:
- consul:consul
elasticsearch:
extends:
file: docker-compose.yml
service: elasticsearch
mem_limit: 512m
build: .
environment:
- CONSUL=consul
- ES_SERVICE_NAME=elasticsearch-master
links:
- consul:consul
elasticsearch_data:
extends:
file: docker-compose.yml
service: elasticsearch
mem_limit: 512m
build: .
environment:
- CONSUL=consul
- ES_SERVICE_NAME=elasticsearch-data
- ES_NODE_MASTER=false
- ES_NODE_DATA=true
links:
- consul:consul
consul:
extends:
file: docker-compose.yml
service: consul
ports:
- 8500:8500