-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathdocker-compose.tests.yaml
More file actions
77 lines (76 loc) · 1.89 KB
/
docker-compose.tests.yaml
File metadata and controls
77 lines (76 loc) · 1.89 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
name: fhir-emr-tests
services:
sdc-ide:
image: bedasoftware/sdc-ide:master
depends_on:
devbox-healthcheck:
condition: service_healthy
ports:
- "3001:5000"
sdc:
image: bedasoftware/fhir-sdc:1.0.0a13
depends_on:
devbox-healthcheck:
condition: service_healthy
links:
- devbox
env_file:
- ./env/sdc
# Colored logs
tty: true
devbox:
image: healthsamurai/aidboxone:stable
depends_on:
- devbox-db_test
- build-seeds-init
links:
- "devbox-db_test:database"
ports:
- "8080:8080"
env_file:
- ./env/aidbox
- .env
volumes:
- ./config:/var/config:cached
- ./resources/init-bundles:/resources/init-bundles
devbox-db_test:
image: "healthsamurai/aidboxdb:13.2"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: devbox
devbox-healthcheck:
image: curlimages/curl
entrypoint: /bin/sleep 10000
links:
- devbox
depends_on:
- devbox
healthcheck:
test: curl --fail http://devbox:8080/health || exit 1
interval: 5s
timeout: 30s
retries: 100
build-seeds-init:
image: bedasoftware/fhirsnake:latest
command:
- export
- --output
- /app/init-bundles/initBundle.json
- --external-questionnaire-fce-fhir-converter-url
- http://questionnaire-fce-fhir-converter:3000/to-fhir
env_file:
- ./env/build-seeds
depends_on:
questionnaire-fce-fhir-converter:
condition: service_healthy
volumes:
- ./resources/init-seeds:/app/resources
- ./resources/init-bundles:/app/init-bundles
questionnaire-fce-fhir-converter:
image: bedasoftware/questionnaire-fce-fhir-converter:latest
healthcheck:
test: curl --fail http://localhost:3000/health || exit 1
interval: 5s
timeout: 30s
retries: 50