-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
48 lines (47 loc) · 1.6 KB
/
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
44
45
46
47
48
version: '3'
services:
etl:
build:
context: ./
dockerfile: ./Dockerfile
image: kids-first/etl:0.0.1
links:
- elasticsearch
container_name: kf-etl
hostname: kf-etl
environment:
- KF_STUDY_ID="SD_B8X3C1MX"
#- KF_STUDY_ID="UNKNOWN_STUDY"
- KF_RELEASE_ID=RE_123456
- KF_DRIVER_MEMORY=1g
volumes:
- "./kf-portal-etl-docker/kf_etl.conf:/kf-etl/conf/kf_etl.conf"
- "./kf-portal-etl-docker/log4j.properties:/kf-etl/spark/conf/log4j.properties"
- "./target/scala-2.12/kf-portal-etl.jar:/kf-etl/data/kf-portal-etl.jar"
- "./kf-portal-etl-docker/mondo_terms.json.gz:/kf-etl/mondo_terms.json.gz"
- "./kf-portal-etl-docker/ncit.tsv.gz:/kf-etl/ncit.tsv.gz"
- "./kf-portal-etl-docker/hpo_terms.json.gz:/kf-etl/hpo_terms.json.gz"
- "./kf-portal-etl-docker/data_category_existing_data.tsv:/kf-etl/data_category_existing_data.tsv"
- "./kf-portal-etl-docker/duo_code/duo.csv:/kf-etl/duo.csv"
- "./kf-portal-etl-docker/data:/kf-etl/data"
ports:
- "4040:4040"
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.10.2
container_name: kf-es
hostname: kf-es
ports:
- "9299:9200"
- "9399:9300"
environment:
- discovery.type=single-node
- cluster.name=kf-es
kf-dataservice:
container_name: kf-dataservice
hostname: kf-dataservice
image: nginx
ports:
- 8080:80
volumes:
- ./kf-portal-etl-docker/external/dataservice/nginx.conf:/etc/nginx/nginx.conf:ro
- ./kf-portal-etl-docker/external/dataservice/data:/data/www