You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In ENTRYPOINT we load config files and substitute env vars.
Unfortunately we first load the configs as JSON and only after that we substitute ${}
That means we cannot use env vars for non-string values
For example "IndexConnectionsCount" : ${ORTHANC_DB_INDEX_CONNECTIONS_COUNT}
because this is not valid JSON.
And if we enclose the value to quotes that will be an invalid int value in the config.
Maybe we should consider using a more straightforward substitution approach like just envsubst for the files
The text was updated successfully, but these errors were encountered:
In ENTRYPOINT we load config files and substitute env vars.
Unfortunately we first load the configs as JSON and only after that we substitute ${}
That means we cannot use env vars for non-string values
For example
"IndexConnectionsCount" : ${ORTHANC_DB_INDEX_CONNECTIONS_COUNT}
because this is not valid JSON.
And if we enclose the value to quotes that will be an invalid int value in the config.
Maybe we should consider using a more straightforward substitution approach like just
envsubst
for the filesThe text was updated successfully, but these errors were encountered: