In my older docker setups, I made use of the /usr/lib/orthanc/setup.d folder to drop in my own startup bash scripts that I wanted executed along with Orthanc's own initialization.
The scripts were for container-specific setup, as for example, maintaining self-signed SSL certs for use by the Orthanc running within the container. This is in contrast to baking settings into the docker image itself.
I realize the newer Orthanc framework employs python (invoked by the /docker-entrypoint.sh) to perform its initialization.
What might be the best way to migrate my own initialization scripts to the new framework? I could pull out the existing /docker-entrypoint.sh and modify it to invoke my additional scripts. In that approach, I would need to regularly check the Orthanc original entrypoint to adopt any changes in my own version.
I don't see a hook in the python initialization that would indicate I could invoke my own python scripts in some directory.
Are there hooks in the Orthanc docker setups for running addendum initialization scripts after the official Orthanc initialization scripts have executed?