add mongodb
This commit is contained in:
2
mongodb/.gitignore
vendored
Normal file
2
mongodb/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
data/
|
||||
shared/
|
||||
15
mongodb/docker-compose.yml
Normal file
15
mongodb/docker-compose.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
version: '3.7'
|
||||
|
||||
services:
|
||||
mongo:
|
||||
image: mongo:4.4
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "27017:27017"
|
||||
# command:
|
||||
# - '--config'
|
||||
# - '/config/mongod-conf.yml'
|
||||
volumes:
|
||||
- ./data:/data/db
|
||||
- ./shared:/shared
|
||||
|
||||
Reference in New Issue
Block a user