From 9e919c3c2429ed82a2576c24ba783a93f22f9480 Mon Sep 17 00:00:00 2001 From: Jamie Curnow Date: Wed, 20 Jun 2018 08:46:45 +1000 Subject: [PATCH] Db config --- .gitignore | 3 ++- config/default.json | 10 ++++++++++ config/my.cnf | 8 ++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 config/default.json create mode 100644 config/my.cnf diff --git a/.gitignore b/.gitignore index 6baa0959..0306177e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,9 +3,10 @@ ._* node_modules core* +config/development.json dist webpack_stats.html data/* yarn-error.log yarn.lock - +tmp diff --git a/config/default.json b/config/default.json new file mode 100644 index 00000000..1cfccb1e --- /dev/null +++ b/config/default.json @@ -0,0 +1,10 @@ +{ + "database": { + "engine": "mysql", + "host": "db", + "name": "npm", + "user": "npm", + "password": "npm", + "port": 3306 + } +} diff --git a/config/my.cnf b/config/my.cnf new file mode 100644 index 00000000..497b6fbe --- /dev/null +++ b/config/my.cnf @@ -0,0 +1,8 @@ +[mysqld] +skip-innodb +default-storage-engine=MyISAM +default-tmp-storage-engine=MyISAM +innodb=OFF +symbolic-links=0 +log-output=file +