-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathesk-compose.yml
33 lines (33 loc) · 944 Bytes
/
esk-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
version: '3.2'
services:
elasticsearch:
image: blacktop/elasticsearch:5.4
#command: elasticsearch -Enetwork.host=_eth0_ -Enetwork.publish_host=192.168.2.106 -Ediscovery.zen.minimum_master_nodes=1 -Enode.master=true -Enode.ingest=true -Enode.data=true
volumes:
- esdata:/usr/share/elasticsearch/data
ports:
- "9200:9200"
- target: 9300
published: 9300
protocol: tcp
mode: host
deploy:
placement:
constraints: [node.role == manager]
kibana:
#Default User "kibana" password "changeme"
image: blacktop/kibana:5.4
volumes:
- type: bind
source: /c/Users/johan_000/Desktop/plugins
target: /usr/share/kibana/plugins
environment:
ELASTICSEARCH_URL: http://${NODEMANAGERVBIP}:9200
ports:
- "5601:5601"
deploy:
placement:
constraints: [node.role == manager]
volumes:
esdata:
driver: local