-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathdocker-compose-local.yml
More file actions
153 lines (139 loc) · 4.86 KB
/
docker-compose-local.yml
File metadata and controls
153 lines (139 loc) · 4.86 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
services:
trex:
command: npm run startdev
build:
context: ./services/trex
dockerfile: ./Dockerfile
ports:
- 9229:9229
- 25432:5432
- 25433:5433
- 33000:33000
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
TREX_DEBUG_GC: 0
LOCAL_DEBUG: "true"
DATABASE_CREDENTIALS: ${DATABASE_CREDENTIALS:-{}}
PLUGINS_SEED: ${PLUGINS_SEED:-["d2e-flows", "d2e-ui", "d2e-atlas", "data-transformation-flow", "hades-flow", "trex-hana", "trex-pgwire", "d2e-fhir-server", "storage", "fhir"]}
PLUGINS_SEED_UPDATE: ${PLUGINS_SEED_UPDATE:-true}
PLUGINS_DEV_PATH: "./plugins"
SQL_QUERY_TEMPLATES: '{"cohort-members": "SELECT {{COHORT_ID}} AS cohort_id, CURRENT_TIMESTAMP AS exported_at", "patient-count": "SELECT COUNT(*) AS patient_count FROM {{SCHEMA}}.person"}'
WATCH: |-
{
"analytics-svc": false,
"mri-pg-config": false,
"alp-fhir-gateway": 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-analysis": false,
"mcp-server": false
}
alp-caddy:
ports:
- 41000:41000
- 41130:41130
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
# volumes:
# - ./services/alp-logto/connector-alp-azuread/lib:/etc/logto/packages/connectors/connector-alp-azuread/lib
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"
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
enterprise-gateway:
build:
context: ./services/enterprise-gateway
dockerfile: Dockerfile
environment:
EG_ALLOW_ORIGIN: "https://${CADDY__D2E__PUBLIC_FQDN:-${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
enterprise-gateway-viewer:
build:
context: ./services/enterprise-gateway
dockerfile: Dockerfile
environment:
EG_ALLOW_ORIGIN: "https://${CADDY__D2E__PUBLIC_FQDN:-${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
supabase-storage:
build:
context: ./services/supabase-storage
dockerfile: Dockerfile
logging:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- DOZZLE_ENABLE_SHELL=${DOZZLE_ENABLE_SHELL:-false}
- DOZZLE_ENABLE_ACTIONS=true