Database initialization scripts for the OmniBioAI platform. These files are automatically executed by MySQL on first container startup via the docker-entrypoint-initdb.d mechanism.
Runs first (alphabetical order is guaranteed by MySQL's entrypoint). Creates the required databases if they don't already exist:
omnibioai— main application database used by the workbenchlimsdb— Laboratory Information Management System (LIMS) databasemodel_registry— model registry databaseomnibioai_licenses— license server database
Full schema and seed data dump for the main omnibioai database (~28 MB). Applied after database creation.
Full schema and seed data dump for the limsdb LIMS database (~76 KB). Applied after database creation.
This directory is referenced in the OmniBioAI docker-compose stack via the DB_INIT_DIR environment variable:
DB_INIT_DIR=/home/manish/Desktop/machine/omnibioai-db-initIt is mounted into the MySQL container as a read-only volume:
mysql:
volumes:
- ${DB_INIT_DIR}:/docker-entrypoint-initdb.d:roNote: These scripts only run when the MySQL data volume is empty (i.e. on first startup or after
docker volume rm mysql_data). Re-running the stack with an existing volume will not re-apply these scripts.
If you need to reset and re-apply all init scripts:
docker compose down -v # removes volumes including mysql_data
docker compose up mysql -d # re-creates and re-runs init scriptsTo regenerate the SQL dumps from a running instance:
# Main app database
docker exec <mysql-container> mysqldump -uroot -p omnibioai > omnibioai.sql
# LIMS database
docker exec <mysql-container> mysqldump -uroot -p limsdb > limsdb.sqlomnibioai— main Django workbench applicationomnibioai-lims— LIMS serviceomnibioai-dev-docker— Docker Compose stack and deployment configuration