generated from steedos/steedos-project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
36 lines (33 loc) · 1.09 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
image: steedos/gitpod-workspace-base:2.2.5
# List the ports you want to expose and what to do when they are served. See https://www.gitpod.io/docs/config-ports/
ports:
- port: 5000 # Steedos
onOpen: ignore
visibility: public
- port: 6379 # Redis
onOpen: ignore
- port: 9001 # Supervisor
onOpen: ignore
- port: 27017 # MongoDB
onOpen: ignore
# List the start up tasks. You can start them in parallel in multiple terminals. See https://www.gitpod.io/docs/config-start-tasks/
tasks:
- name: Steedos Platform
command: |
echo "ROOT_URL=$(gp url 5000)" >> steedos-platform/.env.local
docker-compose -f steedos-platform/docker-compose-ee.yml up
- name: Steedos Packages
command: |
echo "METADATA_SERVER=$(gp url 5000)" >> .env.local
npm config set registry=https://registry.npmmirror.com
npm install -g steedos-cli
yarn
yarn build
gp await-port 5000
yarn start
vscode:
extensions:
- redhat.vscode-yaml
- steedos.steedosdx-vscode
- steedos.steedosdx-vscode-core
- ms-ceintl.vscode-language-pack-zh-hans