From 045039ec9f7f39b645acbeb11cc26d415728194a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=99=E6=84=8F?= <413118324@qq.com> Date: Tue, 26 Mar 2024 16:38:25 +0000 Subject: [PATCH] create s.yaml content --- master.yaml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 master.yaml diff --git a/master.yaml b/master.yaml new file mode 100644 index 0000000..a2e1b3e --- /dev/null +++ b/master.yaml @@ -0,0 +1,39 @@ +edition: 1.0.0 +name: my-framework-app +access: default +services: + framework: + component: fc + props: + region: cn-beijing + service: + name: serverless-devs-application + function: + name: go-gin-api-56ge + description: Initialize + runtime: custom + environmentVariables: + LD_LIBRARY_PATH: >- + /code:/code/lib:/usr/local/lib:/opt/lib:/opt/php8.1/lib:/opt/php8.0/lib:/opt/php7.2/lib + memorySize: 128 + cpu: 0.05 + timeout: 60 + codeUri: ./ + diskSize: 512 + caPort: 9000 + customRuntimeConfig: + command: + - ./main + args: [] + triggers: + - name: httpTrigger + type: http + config: + authType: anonymous + methods: + - GET + - POST + - PUT + - DELETE + - HEAD + - PATCH -- Gitee