-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathserverless.yml
50 lines (48 loc) · 977 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
service: ui-bot # NOTE: update this with your service name
frameworkVersion: "3"
provider:
name: aws
runtime: python3.10
memorySize: 2048
timeout: 120
architecture: arm64
deploymentBucket:
serverSideEncryption: AES256
environment:
OPENAI_API_KEY: ${ssm:openaiApiKey}
ecr:
images:
uibot:
path: src/
buildArgs:
DATA_PATH: ui/
anchorbot:
path: src/
buildArgs:
DATA_PATH: anchor/
tdibot:
path: src/
buildArgs:
DATA_PATH: tdi/
functions:
ui:
environment:
PROGRAM_NAME: Unemployment Insurance in New Jersey
image:
name: uibot
url:
cors: true
anchor:
environment:
PROGRAM_NAME: ANCHOR program in New Jersey
image:
name: anchorbot
url:
cors: true
tdi:
environment:
PROGRAM_NAME: Temporary Disability and Family Leave Insurance
image:
name: tdibot
url:
cors: true