Environment Variable | Description |
HOST_DIR | The path to the mounted directory on the HOST machine to which to write the files. Providing a HOST_DIRparameter and value with the docker run command externalizes the logs and configuration artifacts of Integration Server. |
SERVICE_NAME | Name of a unique directory under HOST_DIR for persisting Integration Server artifacts. When supplied, the logs and config directories are created under the <HOST_DIR>/<SERVICE_NAME> directory and all artifacts of logs and config directories are persisted in the respective directories. If SERVICE_NAME is not supplied, Integration Server instance name will be used for the name of the unique directory that gets created under the HOST_DIR directory. Software AG recommends specifying a unique directory for each Docker container. |
PERSIST_LOGS | If set to true, the Integration Server running inside the Docker container persists the log files to the<HOST_DIR>/<SERVICE_NAME>/logs where <SERVICE_NAME> is replaced by<INSTANCE_NAME> if the SERVICE_NAME environment variable is not specified. Integration Server externalizes the logs located in the Integration Server_directory /instances/<instanceName>/logs and profiles/IS_<instanceName>/logs directories. If set to false, the Integration Server running inside the Docker container does not externalize the log files. Default is true. |
PERSIST_CONFIGS | If set to true, the Integration Server running inside the Docker container persists the configuration files to the <HOST_DIR>/<SERVICE_NAME>/config directory where <SERVICE_NAME>is replaced by <INSTANCE_NAME> if the SERVICE_NAME environment variable is not specified. If set to false, the Integration Server running inside the Docker container does not externalize the config files. Default is true. |
Note: | In the example above, you need to supply -v /opt/myfolder:/opt/myfolder only if the folder is not mounted on the machine executing the Docker container and is not visible to the Docker container. |