-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paths.yml
139 lines (135 loc) · 4.05 KB
/
s.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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
# aliyun serverless 配置
edition: 2025.01
name: taotao-cloud-order
access: default
vars:
region: cn-hangzhou
# Define the Serverless-Devs services. Each service is a FC function.
services:
taotao-cloud-order:
component: devsapp/fc
props:
region: ${vars.region}
# Define the AlibabaCloud FunctionCompute Service.
service:
name: taotao-cloud-order
internetAccess: true
# Let the serverless-devs create a shared logstore automatically.
# All FC services share the same logstore.
logConfig: auto
# Define the AlibabaCloud FunctionCompute Function.
function:
name: taotao-cloud-order
description: The mall project based on SpringBoot+MyBatis.
caPort: 8080
memorySize: 3072
handler: not-used
timeout: 60
runtime: custom-container
customContainerConfig:
image: registry.${vars.region}.aliyuncs.com/quanxi-hryang/mall-admin:1.0-SNAPSHOT
# Enable the image acceleration.
accelerationType: Default
triggers:
- name: httpTrigger
type: http
config:
authType: anonymous
methods:
- GET
- POST
customDomains:
- domainName: auto
protocol: HTTP
routeConfigs:
- path: /*
serviceName: mall-admin
functionName: mall-admin
methods:
- GET
- POST
taotao-cloud-order:
component: devsapp/fc
props:
region: ${vars.region}
# Define the AlibabaCloud FunctionCompute Service.
service:
name: mall-portal
internetAccess: true
# Let the serverless-devs create a shared logstore automatically.
# All FC services share the same logstore.
logConfig: auto
# Define the AlibabaCloud FunctionCompute Function.
function:
name: mall-portal
description: The mall project based on SpringBoot+MyBatis
caPort: 8085
memorySize: 3072
handler: not-used
timeout: 60
runtime: custom-container
customContainerConfig:
image: registry.${vars.region}.aliyuncs.com/quanxi-hryang/mall-portal:1.0-SNAPSHOT
# Enable the image acceleration.
accelerationType: Default
triggers:
- name: httpTrigger
type: http
config:
authType: anonymous
methods:
- GET
- POST
customDomains:
- domainName: auto
protocol: HTTP
routeConfigs:
- path: /*
serviceName: mall-portal
functionName: mall-portal
methods:
- GET
- POST
taotao-cloud-goods:
component: devsapp/fc
props:
region: ${vars.region}
# Define the AlibabaCloud FunctionCompute Service.
service:
name: mall-search
internetAccess: true
# Let the serverless-devs create a shared logstore automatically.
# All FC services share the same logstore.
logConfig: auto
# Define the AlibabaCloud FunctionCompute Function.
function:
name: mall-search
description: The mall project based on SpringBoot+MyBati
caPort: 8081
memorySize: 3072
handler: not-used
timeout: 60
runtime: custom-container
customContainerConfig:
image: registry.${vars.region}.aliyuncs.com/quanxi-hryang/mall-search:1.0-SNAPSHOT
# Enable the image acceleration.
accelerationType: Default
triggers:
- name: httpTrigger
type: http
config:
authType: anonymous
methods:
- GET
- POST
customDomains:
- domainName: auto
protocol: HTTP
routeConfigs:
- path: /*
serviceName: mall-search
functionName: mall-search
methods:
- GET
- POST
# https://github.com/devsapp/fc