-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paths.yaml
More file actions
31 lines (31 loc) · 1 KB
/
Copy paths.yaml
File metadata and controls
31 lines (31 loc) · 1 KB
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
edition: 3.0.0
name: receiptguard
access: default
resources:
api:
component: fc3
props:
region: ap-southeast-1
functionName: receiptguard-api
runtime: custom-container
port: 9000
cpu: 0.5
memorySize: 1024
diskSize: 512
timeout: 300 # qwen3-max thinking is slow; 120 too tight
instanceConcurrency: 5
customContainerConfig:
image: registry-intl.ap-southeast-1.aliyuncs.com/receiptguard/api:0.1.0
environmentVariables:
DASHSCOPE_API_KEY: '${env(DASHSCOPE_API_KEY)}'
DASHSCOPE_BASE_URL: 'https://dashscope-intl.aliyuncs.com/compatible-mode/v1'
RG_MODEL_AGENT: qwen3.7-max
RG_MODEL_WORKER: qwen-flash
RG_RECEIPT_SECRET: '${env(RG_RECEIPT_SECRET)}'
RG_LEDGER_PATH: /tmp/receiptguard_ledger.db # FC: only /tmp is writable
triggers:
- triggerName: http
triggerType: http
triggerConfig:
authType: anonymous
methods: [GET, POST]