added mongo db service to docker-compose on server

This commit is contained in:
srgooglo 2022-03-14 22:59:42 +01:00
parent 2e560e041e
commit 0661481022
2 changed files with 10 additions and 0 deletions

1
.gitignore vendored
View File

@ -17,6 +17,7 @@
/**/**/package-lock.json
/**/**/yarn.lock
/**/**/.evite
/**/**/d_data
# Logs
/**/**/npm-debug.log*

View File

@ -0,0 +1,9 @@
version: "3"
services:
db:
image: "mongo:5.0"
ports:
- "27017:27017"
volumes:
- "./d_data/db:/data/db"