forked from confluentinc/cp-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
88 lines (83 loc) · 2.05 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
76
77
78
79
80
81
82
83
84
85
86
87
88
github:
prebuilds:
# enable for the default branch (defaults to true)
master: true
# enable for all branches in this repo (defaults to false)
branches: false
# enable for pull requests coming from this repo (defaults to true)
pullRequests: true
# add a "Review in Gitpod" button as a comment to pull requests (defaults to false)
addComment: true
# configure whether Gitpod registers itself as a status check to pull requests
addCheck: true
tasks:
- name: cp-demo
before: |
curl -L --http1.1 https://cnfl.io/cli | sudo sh -s -- -b /usr/local/bin
if [[ "$AUTOSTART" =~ "false" ]]; then
echo "ℹ️ AUTOSTART environment variable is set to false, so use ./scripts/start.sh to start cp-demo"
else
echo "🚀 Starting up cp-demo (you can disable autostart by exporting environment variable AUTOSTART=false, see https://www.gitpod.io/docs/environment-variables)"
CLEAN=false VIZ=false ./scripts/start.sh || CLEAN=true VIZ=false ./scripts/start.sh || exit 1
echo "🚀 You can now follow steps in https://docs.confluent.io/platform/current/tutorials/cp-demo/docs/on-prem.html#guided-tutorial"
fi
vscode:
extensions:
- ms-azuretools.vscode-docker
ports:
# zookeeper
- port: 2181
onOpen: ignore
- port: 2182
onOpen: ignore
# kafka1
- port: 8091
onOpen: ignore
- port: 9091
onOpen: ignore
- port: 10091
onOpen: ignore
- port: 11091
onOpen: ignore
- port: 12091
onOpen: ignore
# kafka2
- port: 8092
onOpen: ignore
- port: 9092
onOpen: ignore
- port: 10092
onOpen: ignore
- port: 11092
onOpen: ignore
- port: 12092
onOpen: ignore
# connect
- port: 8083
onOpen: ignore
# elasticsearch
- port: 9200
onOpen: ignore
- port: 9300
onOpen: ignore
# kibana
- port: 5601
onOpen: notify
# control-center
- port: 9021
onOpen: notify
visibility: public
- port: 9022
onOpen: ignore
# schemaregistry
- port: 8085
onOpen: ignore
# ksqldb-server
- port: 8088
onOpen: ignore
visibility: public
- port: 8089
onOpen: ignore
# restproxy
- port: 8086
onOpen: ignore