I am running Orthanc Server using a docker-compose file as follows
version: '3.1'
services:
orthanc:
image: jodogne/orthanc:1.9.7
command: /run/secrets/
container_name: orthanc1
ports:
- "4242:4242"
secrets:
- orthanc.json
environment:
- ORTHANC_NAME=MYNAME
secrets:
orthanc.json:
file: orthanc.json
and the orthanc.json file is as follows
{
"Name" : "${MYNAME} in Docker Compose",
"RemoteAccessAllowed" : true,
"DicomAet" : "MYNAME",
"DicomAlwaysAllowFind" : true,
"DicomAlwaysAllowGet" : true,
"DicomCheckModalityHost" : false
}
This setup is working fine, however I would like add TLS Authentication as mentioned in the link:-
https://book.orthanc-server.com/faq/dicom-tls.htmlNow when changing my json configuration as mentioned in above link when I use command docker-compose up I get an error stating Inexistent file Orthanc.key. I looked up the issue and found an article
https://groups.google.com/g/orthanc-users/c/ZUUECc9AzaU but solution here as per my understanding is for ssl connection and works when Orthanc Server is installed on system and path for the key is relative to the executable. (correct me if I am understanding it wrong, its my first time working with docker and Orthanc)
Looking for advise on how to modify docker-compose.yml & orthanc.json file so that when I am running Orthanc Server in a docker container I can use echoscu command from my linux machine using TLS authentication. i.e using certificate & Key pair (ex echoscu -v -aet MYNAME localhost 4242 +tls dcmtk.key dcmtk.crt +cf orthanc.crt similar to this).
Let me know if some additional information is needed