web.configfile, iisnode configuration for Node.js applications, database connection strings, etc. Everything is configurable via an environment variable except the license file, which is configured via a volume.
web.configfile is the main point of configuration. Since a container is by definition ephemeral, any changes made in the Configuration Panel would not persist between container restarts.
web.configfile, you need to use a specific format for an environment variable that will contain the value of the property you want to set; this format is
ApplicationUrlproperty in the
https://mycorporation.com/wfgen, you would set the
WFGEN_APP_SETTING_ApplicationUrl=https://mycorporation.com/wfgenenvironment variable in the container.
WFGEN_IISNODE_<node name>_<property name>.
<node name>with the name of the Node.js application (
<property name>with the name of the property you want to set for the
<iisnode/>XML node in the specific Node.js application's
loggingEnabledproperty in the Auth application to
true, you would set the environment variable
WFGEN_ENABLE_IISNODE_OPTION_<node app name>. Then, you replace
<node app name>with the name of the Node.js application (
AUTHfor example) and the value must be one of the following:
<component>as the name of the component you want to set the option on,
<option>as the name of the option you want to set, and
<value>as the value of the option.
DIR_SYNC(directory synchronization service)
2and only trace errors for the engine with an indentation of
0, you would configure the environment variables as follows:
WFGEN_DATABASE_CONNECTION_STRINGenvironment variable. You can put any string in this variable and its value will be put in WorkflowGen's
web.configfile at the
WFGEN_DATABASE_READONLY_CONNECTION_STRINGenvironment variable. It will be added to WorkflowGen's
web.configfile as a new entry in the connection strings with the name
MyDataSourcewith the connection string value of
MyConnectionStringin the WorkflowGen
web.config, you would specify the following environment variable:
_FILEand set its value to the path of the file containing the secret. The container will then get the value in the file at the specified path and set the environment variable without the suffix with that value.
WFG-SOME-LICENSE-KEYusing the environment variable
WFGEN_APP_SETTING_ApplicationSerialNumber, but you want to use a secret for the value. All you have to do is suffix the environment variable name with
_FILEso it becomes
WFGEN_APP_SETTING_ApplicationSerialNumber_FILE. Then, set the value of this variable to the path of the file containing the serial number.
C:\ProgramData\Docker\volumes\licenses\_data) managed by Docker. You can get the path to the volume by executing the following command:
<wfgen appdata>\Templates\server\offline.htm. If this file is present, it will be taken instead of the default one. If you have a volume for WorkflowGen's data, you can execute the following script: