Properly implement port expose/unexpose

This commit is contained in:
Jose Diaz-Gonzalez
2015-09-06 21:57:54 -04:00
parent 6557f711b0
commit a9316bf1f8
6 changed files with 171 additions and 58 deletions

2
config
View File

@@ -5,7 +5,7 @@ export MYSQL_ROOT=/var/lib/dokku/services/mysql
export PLUGIN_COMMAND_PREFIX="mysql"
export PLUGIN_DATA_ROOT=$MYSQL_ROOT
export PLUGIN_DATASTORE_PORT=3306
export PLUGIN_DATASTORE_PORTS=(3306)
export PLUGIN_DEFAULT_ALIAS="DATABASE"
export PLUGIN_IMAGE=$MYSQL_IMAGE
export PLUGIN_IMAGE_VERSION=$MYSQL_IMAGE_VERSION