forked from OHDSI/Data2Evidence
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-local.yml
More file actions
163 lines (149 loc) · 4.71 KB
/
Copy pathdocker-compose-local.yml
File metadata and controls
163 lines (149 loc) · 4.71 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
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
services:
trex:
command: npm run startdev
build:
context: .
dockerfile: ./services/trex/Dockerfile
ports:
- 9229:9229
- 25432:5432
volumes:
- ${D2E_FUNCTIONS:-./functions}:/usr/src/plugins/d2ef
- ${D2E_FHIRFUNCTIONS:-./fhir_functions}:/usr/src/plugins/fhir
- ./plugins/chat_functions:/usr/src/plugins/chat
- ./ui/package.json:/usr/src/plugins/d2e-ui/package.json # For local ui development only
# - ./ui/resources:/usr/src/local-resources # For local ui development only
# - ./services/trex/core:/usr/src/core # For debugging trex with local code
# - ./services/trex/deno.json:/usr/src/deno.json
# - ./flows/base/package.json:/usr/src/plugins/d2e-flows/package.json # For local flows development only
environment:
RUST_LOG: info
RUST_BACKTRACE: full
LOCAL_DEBUG: "true"
DATABASE_CREDENTIALS: ${DATABASE_CREDENTIALS:-{}}
PLUGINS_SEED: '["d2e-flows", "d2e-ui", "d2e-atlas", "data-transformation-flow"]'
PLUGINS_SEED_UPDATE: ${PLUGINS_SEED_UPDATE:-false}
PLUGINS_DEV_PATH: "./plugins"
WATCH: |-
{
"analytics-svc": false,
"mri-pg-config": false,
"alp-fhir-svc": false,
"alp-fhir-init": false,
"alp-dataflow-gen-init": false,
"query-gen-svc": false,
"alp-usermgmt": false,
"bookmark-svc": false,
"mri-pa-config": false,
"cdw-svc": false,
"jobplugins": false,
"dataset": false,
"alpdb": false,
"concept-mapping": false,
"terminology-svc": false,
"code-suggestion": false,
"data-mapping": false,
"portal": false,
"files-manager": false,
"demo": false,
"d2e-webapi": false,
"perseus": false,
"white-rabbit": false,
"strategus-results": false
}
alp-caddy:
command: caddy run --environ --config /srv/caddy-config/Caddyfile --adapter caddyfile --watch
image: caddy:2.8-alpine
ports:
- 41000:41000
- 41130:41130
volumes:
- ${CADDY__CONFIG:-./deploy/caddy-config}:/srv/caddy-config
environment:
CADDY__FHIR_SERVER__PUBLIC_FQDN: ${CADDY__FHIR_SERVER__PUBLIC_FQDN:-localhost}
CADDY__CORS_LOCAL_UI: "import cors"
alp-dataflow-gen:
ports:
- 41120:41120
environment:
SYSTEM_PORTAL__API_URL: https://trex:33000/system-portal/
alp-logto:
build:
context: ./services/alp-logto
dockerfile: Dockerfile
alp-minerva-pg-mgmt-init:
ports:
- 9211:9211
build:
context: services/alp-pg-management
dockerfile: Dockerfile
volumes:
- ./services/alp-pg-management/app:/home/docker/app
alp-minerva-postgres:
ports:
- 41190:5432
- 5432:5432
demodb:
ports:
- "15432:5432"
alp-minerva-s3:
ports:
# - 9000:9000 #Port for API connectivity, internal communication is good enough. Needs to be uncommented only when testing from outside the alp docker network
- 9090:9090
dicom-server:
# uses 8042 port on the container
ports:
- 8042:8042
alp-logto-post-init:
build:
context: ./services/alp-logto/post-init
dockerfile: Dockerfile
# volumes:
# - ./services/alp-logto/post-init:/home/docker
# alp-fhir-server-post-init:
# build:
# context: .
# dockerfile: ./services/alp-fhir/Dockerfile.client
# volumes:
# - ./services/alp-fhir/dist:/home/docker/src/alp-data-node/app/dist
# - ./services/alp-fhir/src:/home/docker/src/alp-data-node/app/src
# environment:
# LOCAL_DEBUG: "true"
# ports:
# - 9226:9226
alp-cachedb:
build:
context: .
dockerfile: ./services/cachedb/Dockerfile
target: development
# To test without Hana
# args:
# BUILD_TYPE: OSS
volumes:
- ./services/cachedb/src:/home/docker/src
ports:
- 9235:9235
- 41191:41191
environment:
LOCAL_DEBUG: "true"
fhir-server:
build:
context: ./services/alp-fhir
dockerfile: Dockerfile
# fhir-fe-server:
# build:
# context: ./services/alp-fhir/
# dockerfile: Dockerfile.frontend
# volumes:
# - ./services/alp-fhir/ui-file-server/index.js:/home/docker/index.js
# ports:
# - 41130:3000
enterprise-gateway:
build:
context: ./services/enterprise-gateway
dockerfile: Dockerfile
environment:
EG_ALLOW_ORIGIN: "https://${CADDY__ALP__PUBLIC_FQDN:-localhost}${PORT:+:${PORT:-41100}}"
volumes:
- ./services/enterprise-gateway/r-strategus-lib/rD2E:/app/rD2E
- ./services/enterprise-gateway/kernels/R_ohdsi_docker:/usr/local/share/jupyter/kernels/R_ohdsi_docker