aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2018-01-28 21:21:53 -0800
committerAdam Soltys <[email protected]>2018-01-28 21:21:53 -0800
commit5e19d99e48b9c323ecf3795ea77f1e7e7885e4f5 (patch)
tree820ce6151258f8e7879edd3615ee331e52b24486 /config
parent3a26111203f406bd94a2603fe8793c2e5becb737 (diff)
downloadcoinos-server-5e19d99e48b9c323ecf3795ea77f1e7e7885e4f5.tar.gz
coinos-server-5e19d99e48b9c323ecf3795ea77f1e7e7885e4f5.zip
use sequelize and mysql
Diffstat (limited to 'config')
-rw-r--r--config/config.json41
1 files changed, 41 insertions, 0 deletions
diff --git a/config/config.json b/config/config.json
new file mode 100644
index 00000000..d5304ecf
--- /dev/null
+++ b/config/config.json
@@ -0,0 +1,41 @@
+{
+ "development": {
+ "username": "root",
+ "password": "MPJzfq97",
+ "database": "coinos",
+ "host": "localhost",
+ "dialect": "mysql"
+ },
+ "test": {
+ "username": "root",
+ "password": null,
+ "database": "database_test",
+ "host": "127.0.0.1",
+ "dialect": "mysql"
+ },
+ "production": {
+ "username": "root",
+ "password": null,
+ "database": "database_production",
+ "host": "127.0.0.1",
+ "dialect": "mysql"
+ },
+ "auto": {
+ "host": "localhost",
+ "dialect": "mysql",
+ "tables": ["Users"],
+ "logging": false,
+ "directory": false,
+ "dialectOptions": {
+ "timeout": 500000,
+ "multipleStatements": true
+ },
+ "pool": {
+ "min": 0,
+ "max": 25
+ },
+ "retry": {
+ "max": 5
+ }
+ }
+}