Skip to content

Commit f4b8160

Browse files
authored
Merge pull request #689 from jbernal0019/master
Add oxidicom service
2 parents e18b297 + cd90d8a commit f4b8160

File tree

1 file changed

+31
-7
lines changed

1 file changed

+31
-7
lines changed

docker-compose.yml

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,6 @@ services:
157157
- "8222:8222"
158158
networks:
159159
local:
160-
healthcheck:
161-
test: wget http://localhost:8222/healthz -q -S -O -
162-
start_period: 20s
163-
retries: 3
164-
timeout: 10s
165-
interval: 5s
166160

167161
lldap:
168162
image: docker.io/nitnelave/lldap:stable
@@ -220,7 +214,6 @@ services:
220214
volumes:
221215
- pfdcm:/home/dicom:rw
222216
- ./pfdcm-services:/home/dicom/services:ro
223-
- chris_files:/chris_files:rw
224217
ports:
225218
- "4005:4005"
226219
networks:
@@ -238,6 +231,37 @@ services:
238231
command: chown 1001 /home/dicom
239232
restart: "no"
240233

234+
oxidicom:
235+
image: ghcr.io/fnndsc/oxidicom:3.0.0
236+
environment:
237+
# https://chrisproject.org/docs/oxidicom/deployment#environment-variables
238+
OXIDICOM_FILES_ROOT: /data
239+
OXIDICOM_AMQP_ADDRESS: amqp://queue:5672
240+
OXIDICOM_NATS_ADDRESS: nats:4222
241+
OXIDICOM_SCP_AET: ChRIS
242+
OXIDICOM_SCP_PROMISCUOUS: "true"
243+
OXIDICOM_LISTENER_THREADS: 32
244+
OXIDICOM_LISTENER_PORT: 11111
245+
RUST_LOG: oxidicom=info
246+
OXIDICOM_PROGRESS_INTERVAL: 100ms
247+
OXIDICOM_DEV_SLEEP: 150ms # throttle performance, so that we can see what's going on in ChRIS_ui
248+
ports:
249+
- "11111:11111"
250+
volumes:
251+
- chris_files:/data:rw
252+
networks:
253+
- local
254+
user: ${UID}:${GID}
255+
stop_signal: SIGKILL
256+
depends_on:
257+
rabbitmq:
258+
condition: service_started
259+
nats:
260+
condition: service_started
261+
cube-nonroot-user-volume-fix:
262+
condition: service_completed_successfully
263+
264+
241265
volumes:
242266
chris_files:
243267
db:

0 commit comments

Comments
 (0)