I started from a working docker compose file from a official sample. Volume data was persistent accross docker compose down
and subsequent docker compose up --build -d
runs:
version: "2"
services:
orthanc-pacs:
build: orthanc-pacs
restart: unless-stopped
ports: ["8042:8042"]
volumes: ["orthanc-storage-pacs:/var/lib/orthanc/db:Z"]
orthanc-middleman:
build: orthanc-middleman
restart: unless-stopped
ports: ["8043:8042"]
volumes: ["orthanc-storage-middleman:/var/lib/orthanc/db:Z"]
orthanc-modality:
build: orthanc-modality
restart: unless-stopped
ports: ["8044:8042"]
volumes: ["orthanc-storage-modality:/var/lib/orthanc/db:Z"]
volumes:
orthanc-storage-pacs:
orthanc-storage-middleman:
orthanc-storage-modality:
Now I replaced the docker image used in the orthanc containers (to save some memory):
instead of orthancteam/orthanc
I switched to jodogne/orthanc-plugins:1.12.4
now the persistent saving of patient data is not working anymore.
Is there a plugin or configuration I can use to fix the persistent saving to docker volumes?
here my orthanc.json:
{
"Name": "Orthanc-modality",
"RemoteAccessAllowed" : true,
"AuthenticationEnabled" : true,
"RegisteredUsers" : {
"demo": "demo"
},
"DicomAet": "MODALITY",
"DicomModalities": {
"pacs": ["PACS", "orthanc-pacs", 4242], // to perform query-retrieve on the PACS
"middleman": ["MIDDLEMAN", "orthanc-middleman", 4242] // used as a C-Store destination
}
},
"Plugins" : [
"/usr/share/orthanc/plugins", "/usr/local/share/orthanc/plugins"
]