-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
40 lines (35 loc) · 1.08 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
version: "3.7"
services:
flare:
ports:
- ${PORT_FLARE:-127.0.0.1:5000}:5000
environment:
FHIR_BASE_URL: ${FHIR_BASE_URL:-http://fhir-server:8080/fhir}
DEBUG: ${FLARE_DEBUG:---debug}
FHIR_USER: ${FHIR_USER:-}
FHIR_PW: ${FHIR_PW:-}
build: .
restart: always
volumes:
- ./src:/opt/flare/src
- ${CODEX_CONCEPT_TREE_PATH:-./src/query_parser/codex/codex-code-tree.json}:/opt/flare/src/query_parser/codex/codex-code-tree.json
- ${CODEX_TERM_CODE_MAPPING_PATH:-./src/query_parser/codex/codex-term-code-mapping.json}:/opt/flare/src/query_parser/codex/codex-term-code-mapping.json
fhir-server:
container_name: fhir-server
image: "ghcr.io/num-codex/blaze:0.1.0"
environment:
BASE_URL: "http://fhir-server:8080"
JAVA_TOOL_OPTIONS: "-Xmx4g"
LOG_LEVEL: debug
ports:
- ${PORT_BLAZE_FHIR:-127.0.0.1:8081}:8080
volumes:
- "blaze-data:/app/data"
db:
image: postgres:12.6-alpine
restart: always
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_DB: fhir
volumes:
blaze-data: