forked from beda-software/fhir-emr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
115 lines (114 loc) · 3.19 KB
/
compose.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
services:
sdc-ide:
image: bedasoftware/sdc-ide:master
depends_on:
devbox-healthcheck:
condition: service_healthy
ports:
- '3001:5000'
env_file:
- ./env/sdc-ide
sdc:
image: bedasoftware/fhir-sdc:master
depends_on:
devbox-healthcheck:
condition: service_healthy
links:
- devbox
- fhirpath_mapping
env_file:
- ./env/sdc
tty: true
devbox:
image: healthsamurai/aidboxone:stable
depends_on:
- devbox-db
- build-seeds
links:
- 'devbox-db:database'
ports:
- '8080:8080'
env_file:
- ./env/aidbox
- .env
volumes:
- ./config:/var/config:cached
- ./zenproject:/zenproject
devbox-db:
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:
build:
context: .
dockerfile: Dockerfile.seeds
volumes:
- ./zenproject:/app/zenproject
- ./resources/seeds:/app/resources/seeds
scheduling:
image: bedasoftware/aidbox-scheduling-node-app:develop
depends_on:
devbox-healthcheck:
condition: service_healthy
env_file:
- ./env/scheduling
- ./env/aidbox
datastream-timescaledb:
image: timescale/timescaledb:latest-pg15
healthcheck:
test: ['CMD', 'pg_isready', '-U', 'postgres']
interval: 5s
timeout: 5s
retries: 5
environment:
POSTGRES_PASSWORD: postgres
datastream-timescaledb-migrations:
image: bedasoftware/fhir-datasequence:latest
entrypoint:
- poetry
- run
- alembic
- upgrade
- head
depends_on:
datastream-timescaledb:
condition: service_healthy
env_file:
- ./env/ingestion
datastream:
image: bedasoftware/fhir-datasequence:latest
depends_on:
datastream-timescaledb:
condition: service_healthy
datastream-timescaledb-migrations:
condition: service_completed_successfully
ports:
- '8082:8081'
env_file:
- ./env/ingestion
environment:
- METRIPORT_WEBHOOK_AUTH_KEY
- METRIPORT_API_SECRET
- JWT_TOKEN_ENCODE_SECRET=${DATASEQUENCE_JWT_SECRET}
jute:
image: bedasoftware/jute-microservice:latest
ports:
- '8099:8090'
fhirpath_mapping:
image: bedasoftware/fhirpath-extract:main
ports:
- '8091:8090'