diff --git a/backend-new.yaml b/backend-new.yaml new file mode 100644 index 0000000..096f23f --- /dev/null +++ b/backend-new.yaml @@ -0,0 +1,44 @@ +edition: 1.0.0 +name: my-framework-app +access: default +services: + framework: + component: fc + props: + region: cn-shenzhen + service: + name: serverless-devs-application + function: + name: paper-station-79r6 + description: Initialize + runtime: custom.debian10 + environmentVariables: + PATH: >- + /opt/nodejs18/bin:/usr/local/bin/apache-maven/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/ruby/bin:/opt/bin:/code:/code/bin + NODE_PATH: /opt/nodejs/node_modules + LD_LIBRARY_PATH: >- + /code:/code/lib:/usr/local/lib:/opt/lib:/opt/php8.1/lib:/opt/php8.0/lib:/opt/php7.2/lib + layers: + - acs:fc:cn-shenzhen:official:layers/Nodejs18/versions/1 + memorySize: 512 + cpu: 0.35 + timeout: 60 + codeUri: ./ + diskSize: 512 + caPort: 4000 + customRuntimeConfig: + command: + - ./packages/backend/bootstrap + args: [] + triggers: + - name: httpTrigger + type: http + config: + authType: anonymous + methods: + - GET + - POST + - PUT + - DELETE + - HEAD + - PATCH