Backend Configuration

Configuration reference for the AI-DAPT Data Cleaning Engine backend.

Environment Variables

Variable Description Default

keycloak_url

URL of the Keycloak authentication server

https://auth.ai-dapt.s5projects.eu

realm

Keycloak realm to use for authentication

ai-dapt

client_id

Client ID for Keycloak authentication

(empty)

client_secret

Client secret for Keycloak authentication

(empty)

storage_service_url

URL of the storage service used for reading/writing data

https://storage-service.aidapt.s5projects.eu

redis_host

Hostname of the Redis server used for caching

localhost

redis_port

Port of the Redis server

6380

redis_db

Database index in Redis

1

MONGO_HOST

Hostname of the MongoDB server

localhost

MONGO_PORT

Port of the MongoDB server

27017

MONGO_INITDB_ROOT_USERNAME

MongoDB root username

admin

MONGO_INITDB_ROOT_PASSWORD

MongoDB root password

admin

MONGO_INITDB_DATABASE

Database used for general backend storage

mongo_test

MONGO_SENSOR_DATABASE

Database used for sensor/configuration storage

aidapt_configuration_storage_database

MONGO_SENSOR_COLLECTION

Collection used for sensor/configuration storage

aidapt_configuration_storage_collection

env

Environment type (local, staging, production)

local

Configuration File Example

keycloak_url=https://auth.ai-dapt.s5projects.eu
realm=ai-dapt
client_id=
client_secret=
storage_service_url=https://storage-service.aidapt.s5projects.eu
redis_host=localhost
redis_port=6380
redis_db=1
MONGO_HOST=localhost
MONGO_PORT=27017
MONGO_INITDB_ROOT_USERNAME=admin
MONGO_INITDB_ROOT_PASSWORD=admin
MONGO_INITDB_DATABASE=mongo_test
MONGO_SENSOR_DATABASE=aidapt_configuration_storage_database
MONGO_SENSOR_COLLECTION=aidapt_configuration_storage_collection
env=local