-
Notifications
You must be signed in to change notification settings - Fork 58
/
.gitpod.yml
46 lines (42 loc) · 1.07 KB
/
.gitpod.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
image: gitpod/workspace-full
tasks:
- name: Start DynamoDB
before: docker-compose up -d
init: |
(
curl -fSsl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip -qq awscliv2.zip
sudo ./aws/install --update
rm awscliv2.zip
aws configure set aws_access_key_id 123
aws configure set aws_secret_access_key 123
aws configure set region us-east-1
)
command: sh $GITPOD_REPO_ROOT/dynamodb-init.sh
- name: Start Lambda functions
before: brew install aws/tap/aws-sam-cli
init: sam build
command: sam local start-api --docker-network rocketnotes_local-serverless-network --warm-containers EAGER
- name: Start webapp
init: |
(
cd webapp
npm install
)
command: |
(
cd webapp
npm run start-gitpod
)
ports:
- port: 4200
onOpen: open-preview
name: Website
description: Website Preview
- port: 3000
visibility: public
onOpen: ignore
name: Api
- port: 8041
onOpen: ignore
name: Db