-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.gitpod.yml
More file actions
28 lines (25 loc) · 811 Bytes
/
.gitpod.yml
File metadata and controls
28 lines (25 loc) · 811 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
image:
file: .gitpod.Dockerfile
tasks:
- name: Start Couchbase
command: ./startcb.sh && gp sync-done startcb
- name: Log use
command: curl -s 'https://da-demo-images.s3.amazonaws.com/runItNow_outline.png?couchbase-example=nextjs-quickstart-repo&source=gitpod' > /dev/null
- name: Start app
init: npm install
command: gp sync-await startcb && npm run init-db:default && while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' -u Administrator:password localhost:8091/pools/default/buckets/user_profile)" != "200" ]]; do sleep 5; done && npm run dev:default
ports:
- port: 3000
onOpen: open-preview
- port: 8091
onOpen: open-browser
- port: 8092-10000
onOpen: ignore
- port: 4369
onOpen: ignore
github:
prebuilds:
master: true
branches: true
pullRequests: true
addCheck: true