-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathserverless.component.yml
119 lines (118 loc) · 2.84 KB
/
serverless.component.yml
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
name: wordpress
version: 0.2.7
author: Tencent Cloud, Inc.
org: Tencent Cloud, Inc.
description: WordPress 组件,允许用户创建部署一个 WordPress 实例。
keywords: tencent, serverless, wordpress
repo: https://github.com/serverless-components/tencent-wordpress
readme: https://github.com/serverless-components/tencent-wordpress/tree/master/README.md
license: MIT
main: ./src
webDeployable: true
actions:
deploy:
definition: Deploy wordpress application
inputs:
src:
type: src
required: true
description: The folder containing the source code of your wordpress application.
faas:
type: object
keys:
memorySize:
type: number
description: SCF memory size
default: 128 # The default value
min: 64 # Minimum number allowed
max: 3072 # Maximum number allowed
allow: # The values that are allowed for this
- 64
- 128
- 256
- 384
- 512
- 640
- 768
- 896
- 1024
- 1152
- 1280
- 1408
- 1536
- 1664
- 1792
- 1920
- 2048
- 2176
- 2304
- 2432
- 2560
- 2688
- 2816
- 2944
- 3072
apigw:
type: object
keys:
id:
type: string
regex: '^service-(\w){8,}$'
name:
type: string
description: Name of API Gateway
default: serverless
regex: '^[a-zA-Z][a-zA-Z0-9(_)]{0,48}[a-zA-Z0-9]?$'
vpc:
type: object
keys:
vpcId:
type: string
subnetId:
type: string
cfs:
type: object
keys:
cfsId:
type: string
db:
type: object
keys:
clusterId:
type: string
netMode:
required: true
type: string
allow:
- 'net'
- 'local'
host:
required: true
type: string
port:
min: 1024
max: 65535
type: number
databaseName:
required: true
type: string
user:
required: true
type: string
password:
required: true
type: string
cdn:
type: object
keys:
domain:
type: string
required: true
https:
type: object
keys:
certId:
type: string
required: true
remove:
definition: Remove wordpress application