salix/loopback/server/datasources.json

128 lines
3.5 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,
"acquireTimeout": 20000,
"waitForConnections": true
},
2021-04-12 05:48:29 +00:00
"osticket": {
"connector": "memory",
"timezone": "local"
2021-04-12 05:48:29 +00:00
},
2020-12-18 16:23:04 +00:00
"tempStorage": {
"name": "tempStorage",
"connector": "loopback-component-storage",
"provider": "filesystem",
2020-12-18 16:23:04 +00:00
"root": "./storage/tmp",
"maxFileSize": "262144000",
2020-12-18 16:23:04 +00:00
"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",
2022-04-07 12:12:56 +00:00
"image/jpg",
"video/mp4"
2020-12-18 16:23:04 +00:00
]
},
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",
"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",
2022-04-08 07:34:46 +00:00
"image/jpg"
]
2020-11-27 12:10:39 +00:00
},
"imageStorage": {
"name": "imageStorage",
"connector": "loopback-component-storage",
"provider": "filesystem",
2020-11-27 12:10:39 +00:00
"root": "./storage/image",
"maxFileSize": "52428800",
2020-11-27 12:10:39 +00:00
"allowedContentTypes": [
"image/png",
"image/jpeg",
2020-11-27 12:10:39 +00:00
"image/jpg"
]
2021-03-11 07:58:34 +00:00
},
"invoiceStorage": {
"name": "invoiceStorage",
"connector": "loopback-component-storage",
"provider": "filesystem",
2021-03-11 07:58:34 +00:00
"root": "./storage/pdfs/invoice",
"maxFileSize": "52428800",
2021-03-11 07:58:34 +00:00
"allowedContentTypes": [
"application/octet-stream",
"application/pdf"
]
2022-04-07 12:12:56 +00:00
},
"claimStorage": {
"name": "claimStorage",
"connector": "loopback-component-storage",
"provider": "filesystem",
2022-04-20 12:46:37 +00:00
"root": "./storage/dms",
2022-04-07 12:12:56 +00:00
"maxFileSize": "31457280",
"allowedContentTypes": [
"image/png",
"image/jpeg",
"image/jpg",
"video/mp4"
]
2022-05-25 12:59:28 +00:00
},
2022-05-27 06:23:52 +00:00
"accessStorage": {
"name": "accessStorage",
2022-05-25 12:59:28 +00:00
"connector": "loopback-component-storage",
"provider": "filesystem",
2022-05-31 07:06:15 +00:00
"root": "./storage/access",
2022-06-01 05:57:32 +00:00
"maxFileSize": "524288000",
2022-05-25 12:59:28 +00:00
"allowedContentTypes": [
2022-05-27 06:23:52 +00:00
"application/x-7z-compressed"
2022-05-25 12:59:28 +00:00
]
2022-10-11 12:56:33 +00:00
},
"email": {
"name": "email",
"connector": "mail",
"transports": [{
"type": "smtp",
"host": "smtp.verdnatura.es",
"secure": true,
"port": 465,
"auth": {
"user": "nocontestar",
"pass": "",
"from": "nocontestar@verdnatura.es"
}
}]
}
}