Only wait for a single port

This commit is contained in:
Jose Diaz-Gonzalez
2016-08-26 23:05:42 -04:00
parent 71b9a703f6
commit eee9cb2be5
2 changed files with 2 additions and 1 deletions

View File

@@ -385,7 +385,7 @@ service_create_container() {
echo "$ID" > "$SERVICE_ROOT/ID"
dokku_log_verbose_quiet "Waiting for container to be ready"
docker run --rm --link "$SERVICE_NAME:$PLUGIN_COMMAND_PREFIX" dokkupaas/wait > /dev/null
docker run --rm --link "$SERVICE_NAME:$PLUGIN_COMMAND_PREFIX" dokkupaas/wait -p "$PLUGIN_DATASTORE_WAIT_PORT" > /dev/null
dokku_log_info2 "$PLUGIN_SERVICE container created: $SERVICE"
service_info "$SERVICE"