forked from alangs/archivela
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
40 lines (34 loc) · 1.07 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
image:
file: .gitpod.Dockerfile
tasks:
- name: Build and Launch
init: |
# this runs during Prebuilds.
# download all dependencies and compile source code.
atlas-package
# This is a hack: We want to download all dependencies but not launch the application.
# By giving it an invalid port (1000000), we prevent the app from launching. Please reach out if you know a better sollution!
atlas-run --http-port 1000000 || true
command: |
# This runs when a Gitpod workspace opens.
# Launch the application.
atlas-run
- name: Launch
command: |
# This runs when a Gitpod workspace opens.
# Wait until a a service (confluence) listens on port 1990 and then open a new browser tab.
gp ports await 1990
gp preview --external "$(gp url 1990)/confluence"
ports:
- port: 1990
visibility: private
onOpen: ignore
- port: 8091
visibility: private
onOpen: ignore
- port: 9092
visibility: private
onOpen: ignore
- port: 35061
visibility: private
onOpen: ignore