-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
53 lines (47 loc) · 1.1 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
# Docker Compose file for E-K stack
# Run with:
# docker-compose up -d -p demo
version: '3.7'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch-oss:7.6.1
ports:
- "9200:9200"
environment:
- node.name=elasticsearch
- cluster.initial_master_nodes=elasticsearch
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: "65536"
hard: "65536"
volumes:
- elasticsearch-data:/usr/share/elasticsearch/data
networks:
- default
kibana:
image: docker.elastic.co/kibana/kibana-oss:7.6.1
ports:
- "5601:5601"
environment:
ELASTICSEARCH_URL: http://elasticsearch:9200
ELASTICSEARCH_HOSTS: http://elasticsearch:9200
depends_on:
- elasticsearch
networks:
- default
networks:
default:
driver: bridge
enable_ipv6: true
ipam:
config:
- subnet: "fd87:1f03:269c:327c::/112"
- subnet: "10.50.124.0/24"
volumes:
elasticsearch-data:
driver: local