Skip to content

Commit f77cc21

Browse files
committed
run mongo in background
1 parent 58e3a33 commit f77cc21

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.gitpod.Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,3 @@
22
FROM gitpod/workspace-mongodb
33

44
USER gitpod
5-
6-
RUN mkdir -p /workspace/data && mongod --dbpath /workspace/data --fork --logpath /workspace/data/mongod.log

.gitpod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
tasks:
22
- init: echo "Replace me with a build script for the project."
3-
command: mkdir -p /workspace/data && mongod --dbpath /workspace/data --
3+
command: mkdir -p /workspace/data && mongod --dbpath /workspace/data --fork --logpath /workspace/data/mongod.log
44
image:
55
file: .gitpod.Dockerfile
66

0 commit comments

Comments
 (0)