Document MONGO_CONFIG_OPTIONS for older versions of mongodb

Refs #25
Refs #29
This commit is contained in:
Jose Diaz-Gonzalez
2015-10-20 22:58:31 -04:00
parent aba4ed1d77
commit 08c7165084

View File

@@ -54,6 +54,15 @@ export MONGO_IMAGE="mongo"
export MONGO_IMAGE_VERSION="3.0.5"
dokku mongo:create lolipop
# by default we use the wiredTiger storage solution
# if you are using an image version less than 3.x
# you will need to set a custom MONGO_CONFIG_OPTIONS
# environment variable
export MONGO_CONFIG_OPTIONS=" --auth "
export MONGO_IMAGE_VERSION="2.6.11"
dokku mongo:create lolipop
# get connection information as follows
dokku mongo:info lolipop