-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (40 loc) · 814 Bytes
/
docker-compose.yml
File metadata and controls
42 lines (40 loc) · 814 Bytes
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
version: "3.3"
services:
ingest:
build: ./ingest
env_file: .env
environment:
ES_HOSTS: elasticsearch
depends_on:
- elasticsearch
networks:
- elastic
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.6.2
environment:
- discovery.type=single-node
- cluster.name=es-docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- data01:/usr/share/elasticsearch/data
# ports:
# - 9200:9200
networks:
- elastic
kibana:
image: docker.elastic.co/kibana/kibana:7.6.2
ports:
- 5601:5601
networks:
- elastic
volumes:
data01:
driver: local
networks:
elastic:
driver: bridge