Properly implement port expose/unexpose

This commit is contained in:
Jose Diaz-Gonzalez
2015-09-06 21:56:13 -04:00
parent 693222cd54
commit 0e06e6756a
6 changed files with 169 additions and 58 deletions

2
config
View File

@@ -5,7 +5,7 @@ export MONGO_ROOT=/var/lib/dokku/services/mongo
export PLUGIN_COMMAND_PREFIX="mongo"
export PLUGIN_DATA_ROOT=$MONGO_ROOT
export PLUGIN_DATASTORE_PORT=27017
export PLUGIN_DATASTORE_PORTS=(27017 27018 27019 28017)
export PLUGIN_DEFAULT_ALIAS="MONGO"
export PLUGIN_IMAGE=$MONGO_IMAGE
export PLUGIN_IMAGE_VERSION=$MONGO_IMAGE_VERSION