salix/loopback/server/datasources.json

93 lines
2.6 KiB
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,
"legacyUtcDateProcessing": false,
"timezone": "local",
2019-12-31 08:42:08 +00:00
"connectTimeout": 40000,
2019-03-01 06:31:11 +00:00
"acquireTimeout": 20000
},
2021-04-12 05:48:29 +00:00
"osticket": {
"connector": "vn-mysql",
"database": "vn",
"debug": false,
"host": "localhost",
"port": "3306",
"username": "root",
"password": "root"
},
2020-12-18 16:23:04 +00:00
"tempStorage": {
"name": "tempStorage",
"connector": "loopback-component-storage",
"provider": "filesystem",
"root": "./storage/tmp",
"maxFileSize": "262144000",
"allowedContentTypes": [
"application/x-7z-compressed",
"application/x-zip-compressed",
"application/x-rar-compressed",
"application/octet-stream",
"application/pdf",
"application/zip",
"application/rar",
"multipart/x-zip",
"image/png",
"image/jpeg",
"image/jpg"
]
},
2020-11-27 12:10:39 +00:00
"dmsStorage": {
"name": "dmsStorage",
"connector": "loopback-component-storage",
"provider": "filesystem",
2020-11-27 12:10:39 +00:00
"root": "./storage/dms",
2019-09-12 12:16:09 +00:00
"maxFileSize": "262144000",
"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"
]
2020-11-27 12:10:39 +00:00
},
"imageStorage": {
"name": "imageStorage",
"connector": "loopback-component-storage",
"provider": "filesystem",
"root": "./storage/image",
"maxFileSize": "52428800",
"allowedContentTypes": [
"image/png",
"image/jpeg",
"image/jpg"
]
2021-03-11 07:58:34 +00:00
},
"invoiceStorage": {
"name": "invoiceStorage",
"connector": "loopback-component-storage",
"provider": "filesystem",
"root": "./storage/pdfs/invoice",
"maxFileSize": "52428800",
"allowedContentTypes": [
"application/octet-stream",
"application/pdf"
]
}
2018-12-17 10:28:39 +00:00
}