-
Notifications
You must be signed in to change notification settings - Fork 16
/
cloudbaserc.json
45 lines (45 loc) · 1.25 KB
/
cloudbaserc.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
{
"envId": "{{env.ENV_ID}}",
"version": "2.0",
"$schema": "https://framework-1258016615.tcloudbaseapp.com/schema/latest.json",
"framework": {
"name": "cea-campus-sign",
"requirement": {
"environment": {
"npm_config_sharp_binary_host": {
"description": "Installation mirror of sharp",
"default": "https://npm.taobao.org/mirrors/sharp"
},
"npm_config_sharp_libvips_binary_host": {
"description": "Installation mirror of libvips, which is a dependency of sharp",
"default": "https://npm.taobao.org/mirrors/sharp-libvips"
}
}
},
"plugins": {
"func": {
"use": "@cloudbase/framework-plugin-function",
"inputs": {
"functionRootPath": "./serverless/",
"functions": [
{
"name": "cea-tcb",
"memory": 512,
"timeout": 20,
"runtime": "Nodejs12.16",
"installDependency": true,
"handler": "index.main",
"triggers": [
{
"name": "sign",
"type": "timer",
"config": "0 0 6 * * * *"
}
]
}
]
}
}
}
}
}