generated from module-federation/aegis-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
75 lines (70 loc) · 1.64 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
github:
prebuilds:
# enable for the master/default branch (defaults to true)
master: true
# enable for all branches in this repo (defaults to false)
branches: true
# enable for pull requests coming from this repo (defaults to true)
pullRequests: true
# add a check to pull requests (defaults to true)
addCheck: true
# add a "Review in Gitpod" button as a comment to pull requests (defaults to false)
addComment: true
tasks:
- name: mongo
command: |
gp sync-await start
cd ../aegis
./mongo.sh
- name: install & run
openIn: main
env:
NODE_OPTIONS: --openssl-legacy-provider
before: |
cd ../fdp
nvm install --lts
nvm use --lts
yarn
yarn add express
nohup node repo.js 8003 dist &
nohup node repo.js 8001 cache &
init: |
cd ../fdp
yarn
yarn build-local1
command: |
node --title aegis src/bootstrap.js
- name: service mesh
openMode: split-right
env:
PORT: 8888
SWITCH: true
command: |
gp sync-await start
node --title webswitch src/bootstrap.js
- name: watch
openMode: split-right
command: |
cd ../fdp
yarn watch
ports:
- port: 8000
description: local repo
visibility: public
onOpen: ignore
- port: 8080
description: http api
visibility: public
onOpen: open-preview
- port: 8888
description: webswitch
visibility: public
onOpen: open-browser
- port: 27017
description: mongodb
visibility: public
onOpen: ignore
- port: 5353
description: multicast dns
visibility: public
onOpen: ignore