117 lines
3.2 KiB
JSON
117 lines
3.2 KiB
JSON
{
|
|
"db": {
|
|
"connector": "memory",
|
|
"timezone": "local"
|
|
},
|
|
"vn": {
|
|
"connector": "vn-mysql",
|
|
"database": "vn",
|
|
"debug": false,
|
|
"host": "localhost",
|
|
"port": "3306",
|
|
"username": "root",
|
|
"password": "root",
|
|
"multipleStatements": true,
|
|
"legacyUtcDateProcessing": false,
|
|
"timezone": "local",
|
|
"connectTimeout": 40000,
|
|
"acquireTimeout": 20000,
|
|
"waitForConnections": true
|
|
},
|
|
"osticket": {
|
|
"connector": "memory",
|
|
"timezone": "local"
|
|
},
|
|
"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",
|
|
"image/webp",
|
|
"video/mp4"
|
|
]
|
|
},
|
|
"dmsStorage": {
|
|
"name": "dmsStorage",
|
|
"connector": "loopback-component-storage",
|
|
"provider": "filesystem",
|
|
"root": "./storage/dms",
|
|
"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",
|
|
"image/webp"
|
|
]
|
|
},
|
|
"imageStorage": {
|
|
"name": "imageStorage",
|
|
"connector": "loopback-component-storage",
|
|
"provider": "filesystem",
|
|
"root": "./storage/image",
|
|
"maxFileSize": "52428800",
|
|
"allowedContentTypes": [
|
|
"image/png",
|
|
"image/jpeg",
|
|
"image/jpg",
|
|
"image/webp"
|
|
]
|
|
},
|
|
"invoiceStorage": {
|
|
"name": "invoiceStorage",
|
|
"connector": "loopback-component-storage",
|
|
"provider": "filesystem",
|
|
"root": "./storage/pdfs/invoice",
|
|
"maxFileSize": "52428800",
|
|
"allowedContentTypes": [
|
|
"application/octet-stream",
|
|
"application/pdf"
|
|
]
|
|
},
|
|
"claimStorage": {
|
|
"name": "claimStorage",
|
|
"connector": "loopback-component-storage",
|
|
"provider": "filesystem",
|
|
"root": "./storage/dms",
|
|
"maxFileSize": "31457280",
|
|
"allowedContentTypes": [
|
|
"image/png",
|
|
"image/jpeg",
|
|
"image/jpg",
|
|
"image/webp",
|
|
"video/mp4"
|
|
]
|
|
},
|
|
"accessStorage": {
|
|
"name": "accessStorage",
|
|
"connector": "loopback-component-storage",
|
|
"provider": "filesystem",
|
|
"root": "./storage/access",
|
|
"maxFileSize": "524288000",
|
|
"allowedContentTypes": [
|
|
"application/x-7z-compressed"
|
|
]
|
|
}
|
|
}
|