-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathserverless.yml
54 lines (48 loc) · 907 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
49
50
51
52
53
54
service:
name: ${self:custom.name}
frameworkVersion: ">=1.19.0"
provider:
name: aws
runtime: nodejs6.10
region: ap-northeast-1
stage: ${self:custom.stage}
profile: my
apiKeys:
- ${self:custom.name}-${self:custom.stage}
custom:
name: vuejs-pwa-and-ssr-on-lambda
stage: v1
package:
include:
- server/**/**.js
- server/**/**.json
- server/index.template.html
- dist/**
- '!dist/favicons/**'
exclude:
- node_modules/**
- src/**
- dev/**
- server/**
- local/**
- config/**
- .**
- LICENSE
- README.md
- package.json
- yarn.lock
- webpack.**.js
functions:
render:
handler: server/app.render
timeout: 120
memorySize: 128
events:
- http:
path: '/'
method: get
private: true
- http:
path: '{proxy+}'
method: get
private: true