-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserverless.yml
More file actions
42 lines (36 loc) · 810 Bytes
/
serverless.yml
File metadata and controls
42 lines (36 loc) · 810 Bytes
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
service: vxReddit
provider:
name: aws
runtime: python3.10
stage: dev
environment:
APP_NAME: vxReddit
EMBED_COLOR: \#EE1D52
REPO_URL: https://github.com/dylanpdx/vxReddit
DOMAINNAME: vxreddit.com
VIDEOCONVERSION: local
RUNNING_SERVERLESS: 1
package:
patterns:
- '!node_modules/**'
- '!venv/**'
plugins:
- serverless-wsgi
- serverless-python-requirements
- serverless-plugin-common-excludes
- serverless-plugin-include-dependencies
functions:
vxRedditApp:
handler: wsgi_handler.handler
url: true
timeout: 15
memorySize: 250
layers:
- Ref: PythonRequirementsLambdaLayer
- arn:aws:lambda:us-east-1:001057775987:layer:ffmpeg:2
custom:
wsgi:
app: vxreddit.app
pythonRequirements:
layer: true
dockerizePip: true