Skip to content

Commit

Permalink
Update README.md with docker instructions for MongoDB
Browse files Browse the repository at this point in the history
  • Loading branch information
openp2pdesign committed Nov 15, 2018
1 parent dc7d654 commit 1eecd54
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1eecd54

Please sign in to comment.