@jeff-peirson_4344 - I just ran a test and verified the behavior. ProGet does the following on startup to determine the connection string (in this order):
- look for
SQL_CONNECTION_STRING
environment variable (this was the old documented name)
- look for
PROGET_SQL_CONNECTION_STRING
environment variable
- look for
PROGET_SQL_CONNECTION_STRING_FILE
variable
The first of those with a non-empty and non-whitespace-only value is used. The connection string file requires only read access, and must be plain text containing only the connection string with no additional quoting or escaping. Empty lines are ignored - the first non-empty line is used as the connection string, and any trailing newlines are ignored.
Our Dockerfile does specify a default PROGET_SQL_CONNECTION_STRING
, so you may need to override that to be empty. Perhaps it would make more sense if we checked for the file first - I'll discuss that with the team.
Hope this helps!