salix/loopback/server/datasources.json

39 lines
1010 B
JSON
Raw Normal View History

2018-12-17 10:28:39 +00:00
{
"db": {
2019-02-28 08:20:14 +00:00
"connector": "memory",
"timezone": "local"
},
"vn": {
"connector": "vn-mysql",
"database": "vn",
"debug": false,
2018-12-17 10:28:39 +00:00
"host": "localhost",
"port": "3306",
"username": "root",
"password": "root",
2018-07-24 07:35:23 +00:00
"multipleStatements": true,
"connectTimeout": 20000,
2019-03-01 06:31:11 +00:00
"acquireTimeout": 20000
},
"storage": {
"name": "storage",
"connector": "loopback-component-storage",
"provider": "filesystem",
2019-06-20 12:37:35 +00:00
"root": "./e2e/dms",
"maxFileSize": "10485760",
"allowedContentTypes": [
2019-08-06 05:41:54 +00:00
"application/x-7z-compressed",
"application/x-zip-compressed",
"application/x-rar-compressed",
"application/octet-stream",
"application/pdf",
"application/zip",
"application/rar",
2019-08-06 05:41:54 +00:00
"multipart/x-zip",
"image/png",
"image/jpeg",
"image/jpg"
]
}
2018-12-17 10:28:39 +00:00
}