Categories

Versions

You are viewing the RapidMiner Go documentation for version 9.3 - Check here for latest version

RapidMiner Go

RapidMiner Go (AM) is a Spring Boot application.

Configuration

There are 2 levels of configuration for RapidMiner Go:

  • spring profiles
  • environment variables

Using Spring profiles

As RapidMiner Go is a Spring Boot application, it can be configured using the SPRING_PROFILES_ACTIVE environment variable in docker-compose.yml.
This is a comma separated list of the active spring profiles.

Table of available profiles:

Spring profile Description
db-postgresql RapidMiner Go uses PostgreSQL database
db-h2 RapidMiner Go uses H2 database
exec-jc Job Containers as execution back-end
exec-js Job Service as execution back-end
broker-amq AMQ for messaging

The default value is db-postgresql,exec-jc,broker-amq. This means that the default database is PostgreSQL, and the default execution back-end is provided by Job Containers, and AMQ messaging is used between Automodel and the Job Container instances. If no execution profile is set RapidMiner Go will run processes internally.

Using environment variables

On top of these profiles you can also specify environment variables -- these will override the default value of the profiles.

Table of default environment variables -- these are the minimum required with the above profiles:

Environment variable name Description
DB_HOST docker service for DB
BASE_URL external base URL used on the frontend - e.g. http://localhost:30000
RMID_BASE_URL internal docker service URL for RMID -e.g. http://rapidminer-automodel-rmid:8080
AMQ_URL AMQ URL
AMQ_USERNAME AMQ username
AMQ_PASSWORD AMQ password
AUTH_SECRET authentication secret used between services -- i.e AM and RMID
AUTOMODELER_FRONTEND_TRACKING_ENABLED enable event tracking service (internal analytics)
JOB_QUEUE AMQ job queue name
JOB_STATUS_QUEUE AMQ status queue name
JOB_COMMAND_TOPIC AMQ topic name

Further useful environment variables:

Environment variable name Description
AUTOMODELER_FRONTEND_CLOUDAPPS_DROPBOXAPPID Dropbox application id for importing files from cloud.
AUTOMODELER_FRONTEND_CLOUDAPPS_ONEDRIVEAPPID Microsoft One Drive application id for importing files from cloud.
AUTOMODELER_FRONTEND_GOOGLEANALYTICSID Google Analytics id