forked from AlistGo/alist-replit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path123.yml
45 lines (45 loc) · 1.27 KB
/
123.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
edition: 1.0.0
name: my-framework-app
access: default
services:
framework:
component: fc
props:
region: cn-hongkong
service:
name: serverless-devs-application
function:
name: alist-replit-opo8
description: Initialize
runtime: custom.debian10
environmentVariables:
PATH: >-
/var/fc/lang/python3.10/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
PYTHONPATH: /opt/python:/code
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-hongkong:official:layers/Python3-Flask2x/versions/2
memorySize: 128
cpu: 0.05
timeout: 60
codeUri: ./
diskSize: 512
caPort: 9000
customRuntimeConfig:
command:
- python3
args:
- app.py
triggers:
- name: httpTrigger
type: http
config:
authType: anonymous
methods:
- GET
- POST
- PUT
- DELETE
- HEAD
- PATCH