orthanc-server / orthanc-setup-samples

Sample Orthanc deployments and scripts
Other
62 stars 14 forks source link

In OHIF example, why two orthancs? #6

Closed dscarmo closed 3 months ago

dscarmo commented 4 months ago

Hello, on the example in this repository for ohif integration in https://github.com/orthanc-server/orthanc-setup-samples/tree/master/docker/ohif, there is a orthanc-plugin and orthanc-container.

Here is the .yml itself: https://github.com/orthanc-server/orthanc-setup-samples/blob/master/docker/ohif/docker-compose.yml

I was able to run this setup with only one orthanc service, after merging both configurations into one.

I am afraid I might have misunderstood and am missing something. Are the two Orthanc instances necessary in that example?

Thank you in advance

amazy commented 3 months ago

Hi @dscarmo

No, the 2 services are there to demonstrate the 2 possible configurations (plugins or container) but, in production, you should only use one of these configuration.

dscarmo commented 3 months ago

Thank you!