Changing the IBM® Business Automation Machine Learning Server configuration

Draft comment:
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15
You can change the environment variables used in the docker-compose.yml file by updating the values of the corresponding variables in the .env file.

About this task

Table 1. Environment variables in the .env file
Variable name Description
NGINX_AUTH_PASSWORD The Nginx basic authentication password to access Machine Learning Server
BAI_HOSTNAME Host name of the Business Automation Workflow environment
ELASTICSEARCH_PORT Exposed port for Elasticsearch on the Business Automation Workflow host
ES_USERNAME User name for accessing Elasticsearch
ES_PASSWORD Password for accessing Elasticsearch

Procedure

  1. Stop Machine Learning Server by using the following command:
    ./bin/ba-ml-server-stop
  2. To change the value of a variable, overwrite its value in the .env file.
    Note: To change a password (values that are base64 encoded), delete the password and the base64 tag in the .env file.
  3. Restart Machine Learning Server by using the following command and enter the prompted variables:
    ./bin/ba-ml-server-start --init --acceptLicense