forked from appbaseio/reactivesearch-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (36 loc) · 744 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (36 loc) · 744 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
version: '3'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch-oss:7.10.2
container_name: elasticsearch
networks:
- reactivesearch
environment:
- bootstrap.memory_lock=true
- discovery.type=single-node
- "ES_JAVA_OPTS=-Xms1g -Xmx1g"
ulimits:
nproc: 65536
nofile:
soft: 65536
hard: 65536
memlock:
soft: -1
hard: -1
ports:
- 9200:9200
reactivesearch:
build: ./
container_name: reactivesearch
env_file:
- config/docker.env
networks:
- reactivesearch
restart: on-failure
ports:
- 8000:8000
depends_on:
- elasticsearch
networks:
reactivesearch:
driver: bridge