Skip to content

Commit

Permalink
upgraded Meddream Docker image to use DICOMweb
Browse files Browse the repository at this point in the history
  • Loading branch information
bcrickboom committed Jan 18, 2024
1 parent a9bd19e commit ce4b885
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 10 deletions.
19 changes: 12 additions & 7 deletions minimal-setup/keycloak-meddream-full/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version: "3"
services:

nginx:
image: orthancteam/orthanc-nginx:23.11.0
image: orthancteam/orthanc-nginx:24.1.0
depends_on: [orthanc, orthanc-auth-service, orthanc-for-api, meddream-viewer, keycloak]
restart: unless-stopped
ports: ["80:80"]
Expand All @@ -24,7 +24,7 @@ services:
ENABLE_ORTHANC_FOR_API: "true"

orthanc:
image: osimis/orthanc:23.11.0
image: osimis/orthanc:24.1.2
volumes:
- orthanc-storage:/var/lib/orthanc/db
depends_on: [orthanc-db]
Expand Down Expand Up @@ -75,7 +75,7 @@ services:
}
orthanc-auth-service:
image: orthancteam/orthanc-auth-service:23.11.0
image: orthancteam/orthanc-auth-service:24.1.0
depends_on: [keycloak, meddream-token-service]
# permissions can be customized in the permissions.json file
volumes:
Expand All @@ -101,7 +101,7 @@ services:
POSTGRES_HOST_AUTH_METHOD: "trust"

keycloak:
image: orthancteam/orthanc-keycloak:23.11.0
image: orthancteam/orthanc-keycloak:24.1.0
depends_on: [keycloak-db]
restart: unless-stopped
environment:
Expand All @@ -124,11 +124,11 @@ services:
POSTGRES_DB: "keycloak"

meddream-token-service:
image: orthancteam/meddream-token-service:23.11.0
image: orthancteam/meddream-token-service:24.1.0
restart: unless-stopped

meddream-viewer:
image: orthancteam/meddream-viewer:23.11.0
image: orthancteam/meddream-viewer:24.1.0
restart: unless-stopped
depends_on:
- orthanc-for-api
Expand All @@ -140,12 +140,17 @@ services:
ORTHANC_PWD: "change-me"
ORTHANC_MEDDREAM_PYTHON_PLUGIN_ENABLED: "true"
MEDDREAM_ADMIN_PASSWORD: "change-me"
MEDDREAM_PACS_CONFIG_TYPE: "Dicomweb"
#MEDDREAM_PACS_CONFIG_TYPE: "Orthanc"
ORTHANC_HOSTNAME: "orthanc-for-api"
ORTHANC_DICOM_PORT: 4242
ORTHANC_AET: "ORTHANC"
volumes:
- meddream-license:/opt/meddream/license

# An orthanc dedicated for API accesses and also used by MedDream
orthanc-for-api:
image: osimis/orthanc:23.11.0
image: osimis/orthanc:24.1.2
volumes:
- orthanc-storage:/var/lib/orthanc/db
- ./meddream-plugin.py:/scripts/meddream-plugin.py
Expand Down
5 changes: 5 additions & 0 deletions release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ SPDX-FileCopyrightText: 2022 - 2023 Orthanc Team SRL <[email protected]>
SPDX-License-Identifier: GPL-3.0-or-later
-->

v 24.1.0
========

- modified Meddream Docker image to allow DICOMweb for the connection with Orthanc


v 23.12.2
========
Expand Down
6 changes: 5 additions & 1 deletion sources/meddream/viewer/Dockerfile.meddream-viewer
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@
#
# SPDX-License-Identifier: CC0-1.0

FROM meddream/orthanc-dicom-viewer:8.3.0
FROM meddream/dicom-viewer:8.3.0

# you must define these environment variables:
# TOKEN_SERVICE_ADDRESS
# ORTHANC_BASE_URL
# ORTHANC_USER
# ORTHANC_PWD
# ORTHANC_MEDDREAM_PYTHON_PLUGIN_ENABLED
# MEDDREAM_PACS_CONFIG_TYPE ('Orthanc' or 'Dicomweb')
# ORTHANC_HOSTNAME
# ORTHANC_DICOM_PORT
# ORTHANC_AET

COPY --chown=meddream viewer.application.properties /opt/meddream/application.properties
COPY --chown=meddream system.json /opt/meddream/sys/settings/system.json
2 changes: 1 addition & 1 deletion sources/meddream/viewer/system.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"viewToClipboard": "IMAGE",
"pngPSToClipboard": "NONE",
"showCalculatedFps": true,
"viewToDICOM": false,
"viewToDICOM": true,
"mistMpr3D": true,
"clearCache": false,
"measurementsPropagation": true,
Expand Down
13 changes: 12 additions & 1 deletion sources/meddream/viewer/viewer.application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ com.softneta.license.licenseFileLocation=/opt/meddream/license
spring.profiles.include=auth-inmemory,auth-his
authentication.his.token-service-address=${TOKEN_SERVICE_ADDRESS}

com.softneta.meddream.pacs.configurations[0].type=Orthanc
com.softneta.meddream.pacs.configurations[0].type=${MEDDREAM_PACS_CONFIG_TYPE:Dicomweb}
com.softneta.meddream.pacs.configurations[0].id=Orthanc
com.softneta.meddream.pacs.configurations[0].baseUrl=${ORTHANC_BASE_URL}
com.softneta.meddream.pacs.configurations[0].username=${ORTHANC_USER:orthanc}
Expand All @@ -20,6 +20,17 @@ com.softneta.meddream.pacs.configurations[0].pythonPlugin=${ORTHANC_MEDDREAM_PYT
com.softneta.meddream.pacs.configurations[0].searchApiEnabled=true
com.softneta.meddream.pacs.configurations[0].imageApiEnabled=true

# this section is related to Dicomweb, MEDDREAM_PACS_CONFIG_TYPE should be set to 'Dicomweb' to use them
com.softneta.meddream.pacs.configurations[0].qidoRsUrl=${ORTHANC_BASE_URL}/dicom-web
com.softneta.meddream.pacs.configurations[0].wadoRsUrl=${ORTHANC_BASE_URL}/dicom-web
com.softneta.meddream.pacs.configurations[0].wadoUriUrl=${ORTHANC_BASE_URL}/wado
com.softneta.meddream.pacs.configurations[0].stowRsUrl=${ORTHANC_BASE_URL}/dicom-web
com.softneta.meddream.pacs.configurations[0].uploadUrl=${ORTHANC_BASE_URL}/dicom-web/studies/{study}

# this section allows to push back Key objects to Orthanc
com.softneta.meddream.pacs.configurations[0].storeScpIp=${ORTHANC_HOSTNAME:orthanc}
com.softneta.meddream.pacs.configurations[0].storeScpPort=${ORTHANC_DICOM_PORT:4242}
com.softneta.meddream.pacs.configurations[0].storeScpAet=${ORTHANC_AET:ORTHANC}

# at least one user is required to reach the registration web page and fill the licence key
authentication.inmemory.users[0].userName=admin
Expand Down

0 comments on commit ce4b885

Please sign in to comment.