-
Notifications
You must be signed in to change notification settings - Fork 30
/
docker-compose.tests.yaml
62 lines (62 loc) · 1.64 KB
/
docker-compose.tests.yaml
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
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:develop
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
links:
- 'devbox-db_test:database'
ports:
- '8080:8080'
env_file:
- ./env/aidbox
- .env
volumes:
- ./config:/var/config:cached
- ./zenproject:/zenproject
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:
image: bedasoftware/fhirsnake
command:
- export
- --output
- /app/zenproject/seeds.ndjson.gz
volumes:
- ./zenproject:/app/zenproject
- ./resources/seeds:/app/resources