Fix compose init connection issues between orthanc and kafka
As mentioned in this comment: orthanc-sonador-common!1 (comment 18851)
The order of the container's startup process can affect the connection between the services – especially kafka
and orthanc
.
TODO: update the environment files so that they respect the startup order (arrows indicate that one container needs to start before the other).
core.yaml
:
- MinIO
- Zookeeper -> Kafka
pacs-secure.yaml
:
- Orthanc Database -> Orthanc -> NGINX
In the case of Orthanc, I suspect that it's failing to bind to Kafka because Kafka becomes available after it has completed its startup. The way to "solve" this is to defer starting of Orthanc until after Kafka reports as "ready."
Just as a data point, this seems to be a bigger issue on Mac OS X and Docker for Windows than it is for Docker.io installed in Ubuntu 20.04.