forked from greemo/wundergraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitpod.yml
More file actions
17 lines (17 loc) · 766 Bytes
/
.gitpod.yml
File metadata and controls
17 lines (17 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Commands to start on workspace startup
tasks:
- init: curl -s -L https://github.com/wundergraph/wundergraph/releases/download/v0.90.23/wunderctl_0.90.23_Linux_x86_64.tar.gz | tar xzvf - && chmod +x wunderctl && sudo mv wunderctl /usr/local/bin/
name: 'Download Wunderctl'
- init: cd examples/simple && npm install
command: |
export WG_ALLOWED_ORIGIN="https://9991-$GITPOD_WORKSPACE_ID.$GITPOD_WORKSPACE_CLUSTER_HOST"
echo "$WG_ALLOWED_ORIGIN"
npx --yes concurrently "npm start" "npx --yes wait-on $(gp url 9991) && gp preview $(gp url 9991)/app/main/operations/Dragons"
name: 'Start app'
# Ports to expose on workspace startup
ports:
- port: 9991
visibility: public
onOpen: ignore
- port: 9992
visibility: private