-
Notifications
You must be signed in to change notification settings - Fork 0
/
serverless.yml
43 lines (37 loc) · 863 Bytes
/
serverless.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
service: editly-video-maker
plugins:
- serverless-azure-functions
- serverless-plugin-optimize
- serverless-offline
- serverless-plugin-typescript
provider:
name: azure
runtime: nodejs16
region: ap-southeast-2
stage: dev
subscriptionId: cab43636-c1df-4c63-8837-f9c19790c9ea
resourceGroup: DefaultResourceGroup-CUS
frameworkVersion: '3'
package:
individually: false
exclude:
- node_modules/**
- package.json
- '!node_modules/@ffmpeg-installer/ffmpeg'
- '!node_modules/@ffprobe-installer/ffprobe'
functions:
main:
handler: src/lambda.handler
events:
- http:
method: ANY
path: /
- http:
method: ANY
path: '{proxy+}'
environment:
FFMPEG_PATH: path/to/ffmpeg-binary
FFPROBE_PATH: path/to/ffprobe-binary
# layers:
# ffmpeg:
# path: layer