Configuration

In order to run the project you need to:

  • Fill in the environment variables located in .env-template file

  • Rename the .env-template file to .env

The available environment variables are: # Environment Variables

Base

Env Variable Explanation Example

BASE_URL

The base URL of the application

http://localhost

MLflow

Env Variable Explanation Example

MLFLOW_HOST

Hostname or container name of the MLflow server

mlflow

MLFLOW_PORT

Port on which the MLflow server is listening

5000

Frontend

Env Variable Explanation Example

FRONTEND_HOST_PORT

Port on the host for the frontend service

3000

FRONTEND_CONTAINER_PORT

Port inside the frontend container

3000

Backend

Env Variable Explanation Example

BACKEND_HOST_PORT

Port on the host for the backend service

8000

BACKEND_CONTAINER_PORT

Port inside the backend container

8080

Authentication (Keycloak)

Env Variable Explanation Example

KEYCLOAK_URL

URL of the Keycloak server for authentication

http://keycloak:8080

STORAGE_SERVICE_URL

URL of the storage service for data storage

http://storage:9000

REALM

Keycloak realm for authentication

myrealm

CLIENT_ID

Client ID for Keycloak authentication

my-client

CLIENT_SECRET

Client secret for Keycloak authentication

secret123

Data Exploration

Env Variable Explanation Example

DATA_EXPLORATION_HOST_PORT

Port on the host for the data exploration service

10000

DATA_EXPLORATION_CONTAINER_PORT

Port inside the data exploration container

10000

DATA_EXPLORATION_BASE_URL

Base URL path for the data exploration service

/data-exploration/

DATA_EXPLORATION_TOKEN

Access token for the data exploration service

abc123token

DATA_EXPLORATION_GRANT_SUDO

Grants sudo privileges for users in data exploration

yes

DATA_EXPLORATION_INTERNAL_URL

Internal URL of the data exploration container

http://data-exploration:10000/data-exploration/

DATA_EXPLORATION_IFRAME_ALLOWED_ORIGIN

Allowed origin for embedding in iframe

http://localhost:3000

Machine Learning

Env Variable Explanation Example

MACHINE_LEARNING_HOST_PORT

Port on the host for the machine learning service

10001

MACHINE_LEARNING_CONTAINER_PORT

Port inside the machine learning container

10001

MACHINE_LEARNING_BASE_URL

Base URL path for the machine learning service

/machine-learning/

MACHINE_LEARNING_TOKEN

Access token for the machine learning service

ml-token-456

MACHINE_LEARNING_GRANT_SUDO

Grants sudo privileges for users in machine learning

yes

MACHINE_LEARNING_INTERNAL_URL

Internal URL of the machine learning container

http://machine-learning:10001/machine-learning/

MACHINE_LEARNING_IFRAME_ALLOWED_ORIGIN

Allowed origin for embedding in iframe

http://localhost:3000

Deep Learning

Env Variable Explanation Example

DEEP_LEARNING_HOST_PORT

Port on the host for the deep learning service

10002

DEEP_LEARNING_CONTAINER_PORT

Port inside the deep learning container

10002

DEEP_LEARNING_BASE_URL

Base URL path for the deep learning service

/deep-learning/

DEEP_LEARNING_TOKEN

Access token for the deep learning service

dl-token-789

DEEP_LEARNING_GRANT_SUDO

Grants sudo privileges for users in deep learning

yes

DEEP_LEARNING_INTERNAL_URL

Internal URL of the deep learning container

http://deep-learning:10002/deep-learning/

DEEP_LEARNING_IFRAME_ALLOWED_ORIGIN

Allowed origin for embedding in iframe

http://localhost:3000