Config DB is a spring boot application with JPA support. MariaDB is used to implement Config DB.
Follow the below steps to setup config DB.
Steps
cd configdb
#Setup and run maridb container - SDNC_ConfigDB_SchemaV4.sql is attached in the Pre-loaded Data section
sudo docker run -p 3306:3306 -v $PWD/SDNC_ConfigDB_SchemaV4.sql:/docker-entrypoint-initdb.d/SDNC_ConfigDB_SchemaV4.sql --name mariadb -e MYSQL_ROOT_PASSWORD=password -d mariadb
#Navigate to project directory
cd configdb/Config-DB-API-App
#Build the application
mvn clean install
#Run the application
mvn spring-boot:run &
Execute the below script to load single NSSAI data for intelligent slicing.