-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-local.yml
166 lines (150 loc) · 4.48 KB
/
docker-compose-local.yml
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
164
165
services:
trex:
command: npm run startdev
ports:
- 9229:9229
volumes:
- ${D2E_FUNCTIONS:-./functions}:/usr/src/plugins/d2ef
- ${D2E_FHIRFUNCTIONS:-./fhir_functions}:/usr/src/plugins/fhir
# - ../trex/core:/usr/src/core # For debugging trex with local code
environment:
LOCAL_DEBUG: "true"
DATABASE_CREDENTIALS: ${DATABASE_CREDENTIALS:-{}}
PLUGINS_SEED: '["d2e-flows", "d2e-ui"]'
PLUGINS_SEED_UPDATE: ${PLUGINS_SEED_UPDATE:-false}
PLUGINS_DEV_PATH: "./plugins"
WATCH: |-
{
"analytics-svc": false,
"mri-pg-config": false,
"alp-db-credentials": false,
"alp-fhir-svc": false,
"alp-fhir-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,
"portal": false,
"files-manager": false,
"demo": false,
"d2e-webapi": 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
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-dataflow-gen-worker:
volumes:
- ./services/alp-dataflow-gen/create_workpool_json.py:/opt/prefect/create_workpool_json.py
alp-dataflow-gen-init:
build:
context: .
dockerfile: ./services/alp-dataflow-gen/Dockerfile
environment:
ACHILLES_THREAD_COUNT: 1
volumes:
- ./services/alp-dataflow-gen/init.py:/opt/prefect/libs/init.py
alp-logto:
build:
context: ./services/alp-logto
dockerfile: Dockerfile.local
alp-minerva-pg-mgmt-init:
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
#alp-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
volumes:
- ./services/cachedb/src:/home/docker/src
ports:
- 9235:9235
- 41191:41191
environment:
LOCAL_DEBUG: "true"
alp-perseus-white-rabbit:
environment:
JAVA_OPTs: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"
# mapping debug port 5005 for local development
ports:
- 5005:5005
- 8000:8000
fhir-server:
build:
context: ./services/alp-fhir
dockerfile: Dockerfile
fhir-fe-server:
container_name: &c28 ${PROJECT_NAME:-d2e}-minerva-fhir-fe-server-${BASE_PORT:-1}
image: ghcr.io/data2evidence/fhir-fe-server:${DOCKER_TAG_NAME:-develop}
build:
context: ./services/alp-fhir/
dockerfile: Dockerfile.frontend
volumes:
- ./services/alp-fhir/ui-file-server/index.js:/home/docker/index.js
ports:
- 41130:3000
logging:
options:
tag: *c28
depends_on:
fhir-server:
condition: service_started
# alp-fhir-server-post-init:
# condition: service_completed_successfully
networks:
alp:
restart: ${DOCKER__RESTART_POLICY:-unless-stopped}
profiles: [fhir]