Docker fixes

react_convert
Mark Moffat 2018-02-05 15:02:58 +01:00
parent 83e97a0d20
commit a9f8cf4d34
1 changed files with 9 additions and 10 deletions

View File

@ -14,15 +14,14 @@ services:
depends_on: depends_on:
- mongodb - mongodb
mongodb: mongodb:
image: mongo:latest image: mongo:3.4.10
container_name: "mongodb" container_name: "mongodb"
environment: ports:
- MONGO_DATA_DIR=/data/db - 27017
- MONGO_LOG_DIR=/dev/null
# - MONGODB_USER="user"
# - MONGODB_PASS="pass"
volumes: volumes:
- ./data/db:/data/db - mongo-data:/data/db
ports: ports:
- 27017:27017 - 27017:27017
command: mongod --smallfiles --logpath=/dev/null command: mongod --smallfiles --logpath=/dev/null
volumes:
mongo-data: