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
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 |
|
STORAGE_SERVICE_URL |
URL of the storage service for data storage |
|
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 |
|
DATA_EXPLORATION_IFRAME_ALLOWED_ORIGIN |
Allowed origin for embedding in iframe |
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 |
|
MACHINE_LEARNING_IFRAME_ALLOWED_ORIGIN |
Allowed origin for embedding in iframe |
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 |
|
DEEP_LEARNING_IFRAME_ALLOWED_ORIGIN |
Allowed origin for embedding in iframe |