-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.tests.yaml
More file actions
61 lines (61 loc) · 1.51 KB
/
docker-compose.tests.yaml
File metadata and controls
61 lines (61 loc) · 1.51 KB
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
58
59
60
61
services:
backend:
image: ${BUILD_IMAGE:-sdc-backend-test}
build: .
command: ${TEST_COMMAND}
env_file:
- env.sdc.tests
environment:
FHIRPATH_MAPPING_SERVICE: http://fhirpath_mapping:8090/parse-template
links:
- aidbox
volumes:
- .:/app
depends_on:
aidbox:
condition: service_healthy
fhir-converter:
condition: service_started
jute:
condition: service_started
fhirpath_mapping:
condition: service_started
aidbox:
image: healthsamurai/aidboxone:stable
depends_on:
- aidbox-db
links:
- "aidbox-db:database"
env_file:
- env.aidbox.tests
ports:
- "8181:8080"
environment:
AIDBOX_LICENSE: ${TESTS_AIDBOX_LICENSE}
BOX_INIT_BUNDLE: file:///aidbox-project/initBundle.json
volumes:
- ./initBundle.json:/aidbox-project/initBundle.json
healthcheck:
test: curl --fail http://localhost:8080/health || exit 1
interval: 5s
timeout: 30s
retries: 50
aidbox-db:
image: healthsamurai/aidboxdb:13.2
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: devbox
jute:
image: bedasoftware/jute-microservice:latest
fhirpath_mapping:
image: bedasoftware/fhirpath-extract:main
fhir-converter:
image: bedasoftware/aidbox-fhir-converter:main
links:
- aidbox
depends_on:
aidbox:
condition: service_healthy
env_file:
- env.fhir-converter.tests