From 1eecd54ea456a19934e9ec377b92fe0f436db9ae Mon Sep 17 00:00:00 2001 From: Massimo Menichinelli Date: Thu, 15 Nov 2018 12:00:16 +0100 Subject: [PATCH] Update README.md with docker instructions for MongoDB --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a3eaf96..53d30b0 100644 --- a/README.md +++ b/README.md @@ -34,14 +34,26 @@ Open a browser to [http://localhost:3000/](http://localhost:3000/) ## Docker Compose -The platform can be also lauched with docker-compose. -Edit/configure the ```docker-compose.yml``` file and launch it with: +The platform can be also launched with docker-compose. +Configure MongoDB by editing the ```docker-compose.yml``` and ```mongo/mongo-init.js``` files where + +- *MONGOADMINUSERNAME* is the admin username for MongoDB +- *MONGOADMINPASSWORD* is the admin password for MongoDB + +and where + +- *MONGOUSERNAME* is the admin username for connecting Meteor with MongoDB +- *MONGOPASSWORD* is the admin password for connecting Meteor with MongoDB + +Then launch it with: ``` docker-compose build docker-compose up -d ``` +OMD will be then live at your server IP address (port 80). + The compose file is targeted for production, for local development just Meteor is enough. ## Development