provide database configuration and migration for MultiFlexi's executor, scheduler, api and web.
Install prerequisites:
sudo apt install lsb-release wget apt-transport-https bzip2Add the VitexSoftware repository and key:
wget -qO- https://repo.vitexsoftware.com/keyring.gpg | sudo tee /etc/apt/trusted.gpg.d/vitexsoftware.gpg
echo "deb [signed-by=/etc/apt/trusted.gpg.d/vitexsoftware.gpg] https://repo.vitexsoftware.com $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/vitexsoftware.list
sudo apt updateInstall the package for your database (replace DBTYPE with mysql, pgsql, or sqlite):
If you want to skip running database migrations during package installation or upgrade, set the environment variable MULTIFLEXI_NOMIGRATE before installing or upgrading the package. This is especially useful when building Docker images, so that migrations are not run during image creation.
sudo MULTIFLEXI_NOMIGRATE=1 apt install multiflexi-sqliteWhen this variable is set, the multiflexi-migrator step in the post-installation scripts will be skipped.
sudo apt install multiflexi-DBTYPESupported database engines:
- MySQL / MariaDB (fully supported)
- PostgreSQL (fully supported)
- SQLite (fully supported)
- SQL Server (experimental support)
All MultiFlexi components are designed to work seamlessly with any of these database backends through database abstraction layers.
multiflexi-database is part of MultiFlexi suite. See the full list of ready-to-run applications within the MultiFlexi platform on the application list page.
