s.yaml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. edition: 1.0.0
  2. name: d8d-webcontainer-server
  3. access: default
  4. services:
  5. framework:
  6. component: fc
  7. props:
  8. region: cn-beijing
  9. service:
  10. name: d8dWebContainer
  11. function:
  12. name: d8d-webcontainer-server
  13. description: D8D WebContainer Server
  14. runtime: custom.debian10
  15. environmentVariables:
  16. PATH: >-
  17. /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
  18. NODE_PATH: /opt/nodejs/node_modules
  19. LD_LIBRARY_PATH: >-
  20. /code:/code/lib:/usr/local/lib:/opt/lib:/opt/php8.1/lib:/opt/php8.0/lib:/opt/php7.2/lib
  21. PORT: 9000
  22. layers:
  23. - acs:fc:cn-beijing:official:layers/Nodejs18/versions/1
  24. memorySize: 512
  25. cpu: 0.5
  26. timeout: 3600
  27. codeUri: ./
  28. diskSize: 512
  29. caPort: 9000
  30. instanceConcurrency: 10
  31. customRuntimeConfig:
  32. command:
  33. - node
  34. args:
  35. - start.js
  36. triggers:
  37. - name: httpTrigger
  38. type: http
  39. config:
  40. authType: anonymous
  41. methods:
  42. - GET
  43. - POST
  44. - PUT
  45. - DELETE
  46. - HEAD
  47. - OPTIONS