-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcompose.yaml
147 lines (146 loc) · 4 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
services:
aidbox-2fa:
build: ./aidbox-2fa
depends_on:
devbox-healthcheck:
condition: service_healthy
links:
- devbox
env_file:
- ./env/aidbox-2fa
tty: true
volumes:
- ./aidbox-2fa:/app
ucf-app:
build: ./ucf-app
depends_on:
devbox-healthcheck:
condition: service_healthy
links:
- devbox
env_file:
- ./env/ucf-app
tty: true
volumes:
- ./ucf-app:/app
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:develop
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
watch-seeds:
image: bedasoftware/fhirsnake:latest
command:
- watch
- --external-fhir-server-url
- http://root:secret@devbox:8080
volumes:
- ./resources/seeds:/app/resources
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'