-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose-index-m1.yml
50 lines (48 loc) · 1.25 KB
/
docker-compose-index-m1.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
version: "3.8"
services:
elasticsearch:
build:
context: ./docker_compose/elasticsearch/
image: gds-elasticsearch-m1
expose:
- "9200"
- "9300"
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
cap_add:
- IPC_LOCK
volumes:
- "./config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml"
- "./config/log4j2.properties:/usr/share/elasticsearch/config/log4j2.properties"
- "./config/jvm.options:/usr/share/elasticsearch/config/jvm.options"
- ./esdata:/usr/share/elasticsearch/data
indexer:
build:
context: .
dockerfile: ./docker_compose/data-service/Dockerfile
depends_on:
- elasticsearch
- redis
- worker
environment:
- GENOMIC_DATA_SERVICE_SETTINGS=/genomic_data_service/config/development_docker.cfg
command: make index_docker
worker:
build:
context: .
dockerfile: ./docker_compose/data-service/Dockerfile
depends_on:
- elasticsearch
- redis
environment:
- GENOMIC_DATA_SERVICE_SETTINGS=/genomic_data_service/config/development_docker.cfg
command: make worker_docker
redis:
image: redis:alpine
expose:
- "6379"