-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.json
80 lines (79 loc) · 2.38 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"domain":"$ENV(DOMAIN)",
"certificate_provider":"$ENV(CERTIFICATE_PROVIDER)",
"devmode":"$ENV(DEVMODE)",
"autodiscover":true,
"autodiscover_commands":true,
"autodiscover_handlers":true,
"documentRoot": "$config(projectPath)public/",
"documentRootFileIndex":"index.html",
"cacheControl":"max-age=31536000",
"relativeImportPath":"js/packages/",
"serverPortHTTP": "8080",
"serverPortHTTPS": "8443",
"useLocalSDK":true,
"useLegacyHTTP": false,
"private-key-pem": "$config(domain)-privkey.pem",
"private-cert-pem": "$config(domain)-cert.pem",
"enableShellCommands": true,
"backend":{
"db_engine":{
"name":"$ENV(ENGINE_NAME)",
"databaseName":"$ENV(DATABASE_NAME)"
},
"auth":{
"enabled":true,
"defaultUser":"$ENV(DEFAULT_USER)",
"defaultPasswd": "$ENV(DEFAULT_PASSWORD)",
"microsoftapikey":"$ENV(MICROSOFT_API_KEY)",
"googleapikey":"$ENV(GOOGLE_API_KEY)"
},
"routes":[
{
"name":"QCObjects-SDK.js for demo folder",
"description":"Redirection of QCObjects SDK",
"path":"^/demo-tests/QCObjects-SDK.js$",
"microservice":"com.qcobjects.backend.microservice.static",
"redirect_to": "./node_modules/qcobjects-sdk/QCObjects-SDK.js",
"responseHeaders":{
},
"cors":{
"allow_origins":"*"
}
},
{
"name":"QCObjects-SDK Components for demo folder",
"description":"Redirection of QCObjects SDK",
"path":"^/demo-tests/qcobjects-sdk/(.*)$",
"microservice":"com.qcobjects.backend.microservice.static",
"redirect_to": "./node_modules/qcobjects-sdk/$1",
"responseHeaders":{},
"cors":{
"allow_origins":"*"
}
},
{
"name":"Hello World!",
"description":"Hello world Microservice!",
"path":"^/hello-world",
"microservice":"qcobjects-handler-hello-world",
"headers": {
"content-type": "text/html; charset=utf-8"
},
"responseHeaders":{
},
"cors":{
"allow_origins":"*"
}
}
]
},
"package":{
"source":{
"backend":"backend",
"frontend":"src"
},
"build": "build",
"dist": "dist"
}
}