1 Star 1 Fork 0

shuigedeng / taotao-cloud-project

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
s.yml 4.03 KB
一键复制 编辑 原始数据 按行查看 历史
shuigedeng 提交于 2024-05-01 10:22 . feat: 发布2024.05
# aliyun serverless 配置
edition: 2024.05
name: taotao-cloud-microservice
access: default
vars:
region: cn-hangzhou
# Define the Serverless-Devs services. Each service is a FC function.
services:
mall-admin:
component: devsapp/fc
props:
region: ${vars.region}
# Define the AlibabaCloud FunctionCompute Service.
service:
name: taotao-cloud-file
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-file
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
mall-portal:
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
mall-search:
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
Java
1
https://gitee.com/ttc-cloud/taotao-cloud-project.git
git@gitee.com:ttc-cloud/taotao-cloud-project.git
ttc-cloud
taotao-cloud-project
taotao-cloud-project
master

搜索帮助