salix/loopback/server/datasources.json

34 lines
801 B
JSON

{
"db": {
"connector": "memory",
"timezone": "local"
},
"vn": {
"connector": "vn-mysql",
"database": "vn",
"debug": false,
"host": "localhost",
"port": "3306",
"username": "root",
"password": "root",
"multipleStatements": true,
"connectTimeout": 20000,
"acquireTimeout": 20000
},
"storage": {
"name": "storage",
"connector": "loopback-component-storage",
"provider": "filesystem",
"root": "./",
"maxFileSize": "10485760",
"allowedContentTypes": [
"application/pdf",
"application/zip",
"application/rar",
"image/png",
"image/jpeg",
"image/jpg"
]
}
}