-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
57 lines (53 loc) · 1.78 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
49
50
51
52
53
54
55
56
57
version: '3.9'
services:
ingest-rf2:
build: ./ingest
depends_on:
- snowstorm
volumes:
- ${PATH_TO_RF2_FILES}:/releases:ro
restart: on-failure
environment:
- release=${release}
- rf2_filename=${rf2_filename}
elasticsearch:
image: elasticsearch:7.17.4
environment:
- node.name=snowstorm
- cluster.name=snowstorm-cluster
- cluster.initial_master_nodes=snowstorm
- "ES_JAVA_OPTS=-Xms8g -Xmx8g"
volumes:
- ${PATH_TO_ELASTIC_DB_STORAGE_LOCATION}:/usr/share/elasticsearch/data
healthcheck:
test: ["CMD", "curl", "-f", "http://elasticsearch:9200"]
interval: 1s
timeout: 1s
retries: 60
expose:
- "9200"
snowstorm:
image: snomedinternational/snowstorm:7.9.3
restart: always
depends_on:
elasticsearch:
condition: service_healthy
entrypoint: java -Xms24g -Xmx24g -jar snowstorm.jar --elasticsearch.urls=http://elasticsearch:9200
# entrypoint: java -Xms24g -Xmx24g -jar snowstorm.jar --elasticsearch.urls=http://elasticsearch:9200 --snowstorm.rest-api.readonly=true
# entrypoint: java -Xms24g -Xmx24g -jar snowstorm.jar --elasticsearch.urls=http://elasticsearch:9200 --codesystem.all.latest-version.allow-future=true --codesystem.all.latest-version.allow-internal-release=true
# entrypoint: java -Xms24g -Xmx24g -jar snowstorm.jar --elasticsearch.urls=http://elasticsearch:9200 #--delete-indices --import="/data/SnomedCT_InternationalRF2_PRODUCTION_20220228T120000Z.zip"
ports:
- 8080:8080
expose:
- "8080"
snomedct-browser:
image: snomedinternational/snomedct-browser:latest
depends_on:
- snowstorm
environment:
- API_HOST=http://snowstorm:8080/
ports:
- 80:80
restart: always
networks:
elastic: