I’ve been using the docker image for a while. Now that there are 2 configuration files, I’m not sure which parameters I’m supposed to give to the entrypoint.
$ cat docker-entrypoint.sh
#!/usr/bin/env bash
set -o errexit
if [[ $# -ne 1 ]]; then
echo "FATAL ERROR: docker-entrypoint.sh expects a single parameter: the path to the configuration files(s)"
exit 2
fi
It clearly asks for a single parameter, so I can’t lead it to several files. How will it know which one is the normal and advanced file?
Sorry, I did not realize that this was related to the orthancteam images.
I’ll check into it. But, instead of passing 2 full configuration files, we strongly advise to pass a single file in which you include only the configurations that you change so it is usually much easier to read since, most of the time, you only change a few parameters.
Our typical configuration file look like this (instead of 2 files with thousands of lines):
To me, providing configuration files this way is for advanced users only and it now bypasses the startup-script that simplifies the configurations and brings a suitable default configuration out of the box.