-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
43 lines (41 loc) · 996 Bytes
/
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
version: '2.1'
services:
visual-search:
build:
context: ./
dockerfile: Dockerfile
ports:
- "8080:8080"
links:
- elasticsearch
environment:
- "ELASTIC_HOST=elasticsearch"
- "ELASTIC_PORT=9200"
elasticsearch:
container_name: 'elasticsearch'
image: docker.elastic.co/elasticsearch/elasticsearch:5.6.3
ports:
- "9200:9200"
ulimits:
memlock:
soft: -1
hard: -1
environment:
- http.host=0.0.0.0
- transport.host=127.0.0.1
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- "xpack.security.enabled=false"
volumes:
- ./esdata:/usr/share/elasticsearch/data
index-open-images-test-set:
build:
context: ./logstash/
dockerfile: Dockerfile
links:
- visual-search
volumes:
- ./data:/usr/share/data
- ./logstash/logstash.yml:/usr/share/logstash/config/logstash.yml
environment:
- "LOG_LEVEL=info"