Leiden Open Variation Database (LOVD) provides a flexible, freely available tool for Gene-centered collection and display of DNA variations. LOVD version 3.0 extends this idea to also provide patient-centered data storage and storage of NGS data, even of variants outside of genes.
This Docker image provides stable LOVD installation with Apache 2 web server, PHP.
Database management system (such as MySQL) should be in another Docker container.
The docker-compose tool helps deploying all required container (see docker-compose.yml file).
sudo pip install --upgrade pip
sudo pip install docker-compose
Edit docker-compose.yml before.
It will work with no modification for testing purpose.
For db container:
MYSQL_DATABASEname of database for LOVDMYSQL_USERuser for LOVDMYSQL_PASSWORDpassword for LOVD MySQL user
For lovd container:
LOVD_DB_NAMEuser for LOVD (same ofMYSQL_USER)LOVD_DB_PASSWORDpassword for LOVD MySql user (same ofMYSQL_PASSWORD)LOVD_DB_NAMEname of database for LOVD (same ofMYSQL_DATABASE)LOVD_TABLE_PREFIXprefix of LOVD tables (default islovd)LOVD_BASEDIRaccept access to LOVD via custom base URL for multiple sites
The MYSQL_USER and MYSQL_PASSWORD are defined in .env file.
This file should be owned by root user wihout access by others.
docker-compose up -d
docker-compose down
Database will still avaibable at db_data volume.
To stop containers and delete volumes run.
docker-compose down --volumes
git clone [email protected]:labbcb/docker-lovd.git
cd docker-lovd
docker image build --tag welliton/lovd .