This is the web interface for metagol (https://github.com/metagol/metagol) dockerise.
$constant['mysqlServer'] = "db"; $constant['mysqlUser'] = "metagol"; $constant['mysqlPassword'] = "metagol"; $constant['mysqlDB'] = "metagolDB";
$execStr = "yap";
$dirName = "//srv//metagol//temp//";
- Create temp folder in sources:
mkdir ./sources/temp
- Up docker:
docker-compose up -d
- Copy sql init script to mariadb docker
linux:
windows:
docker cp ./sources/initDB.sql dockermetagolwebinterface_db_1:/
docker cp .\sources\initDB.sql dockermetagolwebinterface_db_1:/
- Execute sh and execute sql initi script
docker exec -it dockermetagolwebinterface_web_1 sh
mysql -u metagol -pmetagol metagolDB < initDB.sql