-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitpod.yml
33 lines (30 loc) · 1.21 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
# List the start up tasks. Learn more https://www.gitpod.io/docs/config-start-tasks/
tasks:
- name: Install docker
before: |
sudo apt-get update
sudo apt-get -y install \
ca-certificates \
curl \
gnupg \
lsb-release
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
- init: sudo update-java-alternatives --jre -s java-1.19.0-openjdk-amd64
command: |
sudo neo4j start
sudo docker run -it -p 7697:7687 -p 7444:7444 -p 3000:3000 memgraph/memgraph-platform
# List the ports to expose. Learn more https://www.gitpod.io/docs/config-ports/
ports:
- port: 3000
onOpen: open-preview
image:
file: .gitpod.dockerfile
vscode:
extensions:
- "shd101wyy.markdown-preview-enhanced"