This commit is contained in:
Masroor Ehsan 2025-01-26 23:54:56 +06:00
parent d457607366
commit 1fabada0ab
5 changed files with 139 additions and 3 deletions

4
.env
View File

@ -25,6 +25,7 @@ VIEWER_CONFIG=./config/ohif.js
ORTHANC_CONFIG=./config/orthanc.json ORTHANC_CONFIG=./config/orthanc.json
ORTHANC_OHIF=./config/orthanc_ohif.js ORTHANC_OHIF=./config/orthanc_ohif.js
ORTHANC_DB_MNT=./volumes/orthanc_db ORTHANC_DB_MNT=./volumes/orthanc_db
ORTHANC_LOG=./volumes/orthanc_logs
# #
# PostgreSQL database - default values should not be used in production # PostgreSQL database - default values should not be used in production
@ -36,3 +37,6 @@ POSTGRES_DB=orthanc
POSTGRES_PORT=5432 POSTGRES_PORT=5432
POSTGRES_USER=postgres POSTGRES_USER=postgres
POSTGRES_PASSWORD=password POSTGRES_PASSWORD=password
TZ="Asia/Dhaka"
PGTZ="Asia/Dhaka"

View File

@ -0,0 +1,33 @@
server.port=8080
logging.file.name=mdjavacore
logging.level.com.softneta=INFO
com.softneta.meddream.loginEnabled=true
com.softneta.license.licenseFileLocation=./license
spring.profiles.include=auth-inmemory,auth-his
authentication.inmemory.users[0].userName=demo
authentication.inmemory.users[0].password=demo
authorization.users[0].userName=demo
authorization.users[0].role=SEARCH,EXPORT_ISO,EXPORT_ARCH,FORWARD,REPORT_VIEW,REPORT_UPLOAD,PATIENT_HISTORY,UPLOAD_DICOM_LIBRARY,3D_RENDERING,ADMIN,DOCUMENT_VIEW,FREE_DRAW_VIEW,FREE_DRAW_EDIT,BOUNDING_BOX_VIEW,BOUNDING_BOX_EDIT,SMART_DRAW_VIEW,SMART_DRAW_EDIT,COPY_TO_DICOM
authentication.his.valid-his-params=study
authorization.defaultHisPermissions=SEARCH,EXPORT_ISO,EXPORT_ARCH,FORWARD,REPORT_VIEW,REPORT_UPLOAD,PATIENT_HISTORY,UPLOAD_DICOM_LIBRARY,3D_RENDERING,DOCUMENT_VIEW,FREE_DRAW_VIEW,FREE_DRAW_EDIT,BOUNDING_BOX_VIEW,BOUNDING_BOX_EDIT,SMART_DRAW_VIEW,SMART_DRAW_EDIT,COPY_TO_DICOM
authorization.defaultLoginPermissions=SEARCH,EXPORT_ISO,EXPORT_ARCH,FORWARD,REPORT_VIEW,REPORT_UPLOAD,PATIENT_HISTORY,UPLOAD_DICOM_LIBRARY,3D_RENDERING,DOCUMENT_VIEW,FREE_DRAW_VIEW,FREE_DRAW_EDIT,BOUNDING_BOX_VIEW,BOUNDING_BOX_EDIT,SMART_DRAW_VIEW,SMART_DRAW_EDIT,COPY_TO_DICOM
com.softneta.meddream.pacs.configurations[0].type=Orthanc
com.softneta.meddream.pacs.configurations[0].id=Orthanc
com.softneta.meddream.pacs.configurations[0].baseUrl=http://orthanc:8042
com.softneta.meddream.pacs.configurations[0].username=orthanc
com.softneta.meddream.pacs.configurations[0].password=orthanc
com.softneta.meddream.pacs.configurations[0].pythonPlugin=true
com.softneta.meddream.pacs.configurations[0].searchApiEnabled=true
com.softneta.meddream.pacs.configurations[0].imageApiEnabled=true
# com.softneta.meddream.pacs.configurations[0].dicomCacheDirectory=
#com.softneta.meddream.pacs.configurations[0].storeScuAet=PACS
#com.softneta.meddream.pacs.configurations[0].storeScuIp=orthanc
#com.softneta.meddream.pacs.configurations[0].storeScuPort=4242
com.softneta.meddream.pacs.configurations[0].storeScpAet=PACS
com.softneta.meddream.pacs.configurations[0].storeScpIp=orthanc
com.softneta.meddream.pacs.configurations[0].storeScpPort=4242

View File

@ -0,0 +1,72 @@
{
"disableMultiFrameVideoAutoLoad": false,
"threeDimensionServiceIntegration": {
"serverIP": null,
"port": null,
"protocol": null,
"pathPrefix": null,
"pathPrefixReplaceTo": null
},
"features": {
"patientHistory": false,
"keyObjectAndPresentationStateQuickSave": true,
"keyObjects": true,
"presentationState": true,
"searchSettings": true,
"viewerSettings": true,
"reportSettings": true,
"hangingProtocolsSettings": true,
"export": true,
"archive": true,
"search": true,
"reports": false,
"liveShare": false,
"openTabsTrackingMethod": "NONE",
"batchImageRequests": true,
"prepareInstances": false,
"thumbnailsPerSeries": "FIRST",
"summaryThumbnailsFor": ["CT", "MR", "PT", "NM"],
"preloadSeries": "ON",
"boundingBoxAnnotations": true,
"viewToClipboard": "IMAGE",
"pngPSToClipboard": "NONE",
"showCalculatedFps": true,
"viewToDICOM": false,
"mistMpr3D": true
},
"blackListedSopClasses": [],
"forwardPacs": [{
"storeScpIp": "172.23.0.7",
"storeScpPort": "4242",
"storeScpAet": "PACS",
"description": "Orthanc"
}],
"languages": ["en"],
"dicomLibraryConfiguration": {
"dicomLibrarySender": null,
"dicomLibrarySubject": null,
"languages": null,
"language": null
},
"asynchronousStudyLoading": false,
"formatIntegrationLinkInViewer": false,
"requestsConfig": {
"maximumMetadataStreams": 5,
"maximumPixelStreams": 15,
"maximumMultiFrameStreams": 4,
"batchSizeMb": 5,
"multiFrameBatchSizeMb": 2
},
"workersConfig": {
"maxWorkers": "50%",
"maxSegmentationWorkers": "50%"
},
"cacheSupervisorConfig": {
"enabled": false,
"runFrequencyInSec": 10
},
"personNameConfiguration": {
"formatIn": null,
"formatOut": null
}
}

View File

@ -10,8 +10,21 @@ services:
environment: environment:
- POSTGRES_USER=${POSTGRES_USER} - POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD} - POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- PGDATA=${PGDATA}
- POSTGRES_DB=${POSTGRES_DB} - POSTGRES_DB=${POSTGRES_DB}
- PGDATA=${PGDATA}
- PGTZ=${PGTZ}
pgadmin:
depends_on:
- postgres
container_name: pgadmin
image: dpage/pgadmin4
restart: unless-stopped
environment:
PGADMIN_DEFAULT_EMAIL: admin@blackfish.dev
PGADMIN_DEFAULT_PASSWORD: password
ports:
- 5050:88
orthanc: orthanc:
container_name: orthanc container_name: orthanc
@ -23,8 +36,9 @@ services:
# configuration file # configuration file
- ${ORTHANC_CONFIG:-./config/orthanc.json}:/etc/orthanc/orthanc.json:ro - ${ORTHANC_CONFIG:-./config/orthanc.json}:/etc/orthanc/orthanc.json:ro
# storage volume for raw dicoms # storage volume for raw dicoms
- ${ORTHANC_DB_MNT:-./orthanc_db}:/var/lib/orthanc/db - ${ORTHANC_DB_MNT:-./volumes/orthanc_db}:/var/lib/orthanc/db
- ${ORTHANC_OHIF:-./config/orthanc_ohif.js}:/usr/local/share/orthanc/ohif.js:ro - ${ORTHANC_OHIF:-./config/orthanc_ohif.js}:/usr/local/share/orthanc/ohif.js:ro
- ${ORTHANC_LOG:-./volumes/orthanc_logs}:/etc/orthanc/logs
environment: environment:
VERBOSE_ENABLED: "true" VERBOSE_ENABLED: "true"
VERBOSE_STARTUP: "true" VERBOSE_STARTUP: "true"
@ -52,6 +66,17 @@ services:
networks: networks:
- pacs - pacs
meddream:
image: meddream/dicom-viewer
restart: always
ports:
- "80:8080"
volumes:
- ./config/meddream/application.properties:/opt/meddream/application.properties
- ./config/meddream/license:/opt/meddream/license
- ./config/meddream/system.json:/opt/meddream/sys/settings/system.json
networks: networks:
pacs: pacs:
external: true external: true

2
volumes/orthanc_logs/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*
!.gitignore