steedos-platform/.gitpod.yml

52 lines
1.3 KiB
YAML
Raw Normal View History

2021-12-27 12:13:46 +00:00
image:
file: .gitpod.Dockerfile
# 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
onOpen: ignore
2021-12-27 12:13:46 +00:00
visibility: public
2022-07-02 05:25:16 +00:00
- port: 3000
onOpen: ignore
visibility: public
2022-01-14 00:38:48 +00:00
- port: 6379
onOpen: ignore
- port: 27017
onOpen: ignore
- port: 3100 # Creator
2022-01-14 00:38:48 +00:00
onOpen: open-browser
visibility: public
2022-07-09 10:41:56 +00:00
- port: 16686 # Jaeger UI
onOpen: open-browser
visibility: public
- port: 5432
onOpen: ignore
visibility: public
2023-09-27 02:54:57 +00:00
- port: 80
onOpen: ignore
visibility: public
2021-12-27 12:13:46 +00:00
# List the start up tasks. You can start them in parallel in multiple terminals. See https://www.gitpod.io/docs/config-start-tasks/
tasks:
2023-09-19 07:42:48 +00:00
- name: Docker
2022-01-14 00:38:48 +00:00
command: |
echo "ROOT_URL=$(gp url 5000)" >> .env.local
echo "METADATA_SERVER=$(gp url 5000)" >> .env.local
2023-10-07 07:36:35 +00:00
echo "ROOT_URL=$(gp url 80)" >> deploy/enterprise/.env
2023-09-19 07:42:48 +00:00
yarn docker:db
2022-01-14 00:41:33 +00:00
- name: Steedos
2022-01-14 00:38:48 +00:00
init: |
2021-12-28 02:08:15 +00:00
yarn
2021-12-27 12:13:46 +00:00
command: |
2022-07-02 05:26:09 +00:00
git config pull.rebase false
2022-07-01 11:03:46 +00:00
rm creator/.env.local
cp creator/.env creator/.env.local
sed -i "/^ROOT_URL=*/cROOT_URL=$(gp url 3100)" creator/.env.local
2022-07-10 10:57:56 +00:00
yarn install
yarn build
2021-12-27 12:13:46 +00:00
gp await-port 27017
gp await-port 6379
2023-07-06 05:45:13 +00:00
yarn start
2021-12-27 12:13:46 +00:00
vscode:
extensions:
- dbaeumer.vscode-eslint