Db config

This commit is contained in:
Jamie Curnow 2018-06-20 08:46:45 +10:00
parent 254c5c7add
commit 9e919c3c24
3 changed files with 20 additions and 1 deletions

3
.gitignore vendored
View File

@ -3,9 +3,10 @@
._*
node_modules
core*
config/development.json
dist
webpack_stats.html
data/*
yarn-error.log
yarn.lock
tmp

10
config/default.json Normal file
View File

@ -0,0 +1,10 @@
{
"database": {
"engine": "mysql",
"host": "db",
"name": "npm",
"user": "npm",
"password": "npm",
"port": 3306
}
}

8
config/my.cnf Normal file
View File

@ -0,0 +1,8 @@
[mysqld]
skip-innodb
default-storage-engine=MyISAM
default-tmp-storage-engine=MyISAM
innodb=OFF
symbolic-links=0
log-output=file