Closed chenejac closed 3 years ago
Andrew Woods said:
Documentation: https://hub.docker.com/_/mariadb
Deploy MariaDB Docker container:
$ docker run --name vitrodb -p 3306:3306 -v /tmp/awoods/mariadb:/docker-entrypoint-initdb.d -e MYSQL_USER=root -e MYSQL_ROOT_PASSWORD=
Where, "/tmp/awoods/mariadb" is a directory that contains the file, "mysql-init.sql":
CREATE DATABASE vitrodb CHARACTER SET utf8;
GRANT ALL ON vitrodb.* TO 'vitrodbUsername'@'%' IDENTIFIED BY 'vitrodbPassword';
Notes: No change required for runtime.properties
VIVO: Using branches: https://github.com/vivo-project/VIVO/tree/sprint-search https://github.com/vivo-project/Vitro/tree/sprint-search
Andrew Woods said:
This recipe has been built into: https://github.com/vivo-community/vivo-docker2
Ralph O'Flinn said:
Additional documentation is incoming
Andrew Woods (Migrated from VIVO-1680) said:
This task is to deploy VIVO with an externalized MariaDB, which itself has been deployed via its own Docker container.