Skip to content

Commit

Permalink
Added gitpod configs
Browse files Browse the repository at this point in the history
Added gitpod image
  • Loading branch information
scopsy committed Nov 29, 2021
1 parent 860184c commit 73ee60b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitpod.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM gitpod/workspace-mongodb

RUN sudo apt-get update && sudo apt-get install -y redis-server && sudo rm -rf /var/lib/apt/lists/*
12 changes: 12 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
image:
file: .gitpod.dockerfile
tasks:
- init: yarn install && yarn run build
command: yarn run start && mkdir -p /workspace/data && mongod --dbpath /workspace/data && redis-server
ports:
- port: 4200
onOpen: open-preview
- port: 4500
onOpen: open-preview
- port: 3000
onOpen: open-preview

0 comments on commit 73ee60b

Please sign in to comment.