-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (52 loc) · 1.35 KB
/
docker-compose.yml
File metadata and controls
54 lines (52 loc) · 1.35 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
version: '2'
services:
elasticsearch:
# Doc:
image: docker.elastic.co/elasticsearch/elasticsearch:5.2.2
container_name: elasticsearch
environment:
- cluster.name=cluster-es
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- xpack.security.enabled=false
- xpack.monitoring.enabled=false
- xpack.graph.enabled=false
- xpack.watcher.enabled=false
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
mem_limit: 1g
volumes:
- esdata:/usr/share/elasticsearch/data
ports:
- 9200:9200
# networks:
# - esnet
kibana:
# Doc: https://www.elastic.co/guide/en/kibana/current/_configuring_kibana_on_docker.html
image: docker.elastic.co/kibana/kibana:5.2.2
container_name: kibana
environment:
# - xpack.security.enabled=false
# - xpack.monitoring.enabled=false
# - xpack.graph.enabled=false
# - xpack.watcher.enabled=false
# - xpack.reporting.enabled=false
# - logging.quite=true
XPACK_GRAPH_ENABLED: "False"
XPACK_WATCHER_ENABLED: "False"
XPACK_SECURITY_ENABLED: "False"
XPACK_MONITORING_ENABLED: "False"
LOGGING_QUIET: "True"
ports:
- 5601:5601
volumes:
esdata:
driver: local
# networks:
# esnet:
# driver: bridge