generated from arabold/serverless-react-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathserverless.yml
48 lines (42 loc) · 884 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
44
45
46
47
48
# Waveforme serverless.yml
# Copyright (C) 2023 Reese Norris - All Rights Reserved
org: null
app: waveforme
service: waveforme
frameworkVersion: '3'
configValidationMode: error
deprecationNotificationMode: warn:summary
provider:
name: aws
deploymentMethod: direct
runtime: nodejs14.x
region: us-east-2
stage: dev
memorySize: 512
architecture: arm64
timeout: 10
logRetentionInDays: 7
plugins:
- serverless-webpack
- serverless-offline
functions:
serve:
handler: handler.serve
events:
- httpApi:
method: GET
path: /
- httpApi:
method: GET
path: /about
- httpApi:
method: GET
path: /design
custom:
webpack:
webpackConfig: 'webpack.config.server.js'
serverless-offline:
useChildProcesses: true
noPrependStageInUrl: true
host: 0.0.0.0
httpPort: 3000