Skip to content

Commit

Permalink
Merge pull request #4 from Otto-J/serverless-branch-gmmt
Browse files Browse the repository at this point in the history
create s.yaml
  • Loading branch information
Otto-J authored Nov 10, 2023
2 parents b12d519 + 40c3dd4 commit 65ad0a6
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions s.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
edition: 1.0.0
name: my-framework-app
access: default
services:
framework:
component: fc
props:
region: cn-beijing
service:
name: serverless-devs-nuxt-ijustcc
function:
name: nuxt-ijustcc-86bc
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-beijing:official:layers/Nodejs18/versions/1
memorySize: 128
cpu: 0.1
timeout: 60
codeUri: ./
diskSize: 512
caPort: 9000
customRuntimeConfig:
command:
- npm
args:
- run
- start
triggers:
- name: httpTrigger
type: http
config:
authType: anonymous
methods:
- GET
- POST
- PUT
- DELETE
- HEAD
- PATCH

0 comments on commit 65ad0a6

Please sign in to comment.