-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose-m1.yml
46 lines (43 loc) · 1.13 KB
/
docker-compose-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
version: "3.8"
services:
genomic_data_service:
build:
context: .
dockerfile: ./docker_compose/data-service/Dockerfile
image: gds-app
volumes:
- ".:/genomic_data_service"
depends_on:
- elasticsearch
environment:
- GENOMIC_DATA_SERVICE_SETTINGS=/genomic_data_service/config/development_docker.cfg
command: make run_docker
nginx:
image: nginx:1.21.4
depends_on:
- genomic_data_service
volumes:
- "./config/nginx-docker.conf:/etc/nginx/nginx.conf"
ports:
- 80:80
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