diff --git a/docs/development/plugin-triggers.md b/docs/development/plugin-triggers.md index c921bae96..5d96f61b7 100644 --- a/docs/development/plugin-triggers.md +++ b/docs/development/plugin-triggers.md @@ -738,7 +738,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x - Description: Computes the ports for a given app container - Invoked by: `internally triggered by proxy-build-config within proxy implementations` -- Arguments: `$APP` +- Arguments: `$APP $PROC_TYPE $IS_HEROKUISH_CONTAINER $CONTAINER_INDEX` - Example: ```shell diff --git a/plugins/scheduler-docker-local/scheduler-deploy b/plugins/scheduler-docker-local/scheduler-deploy index 0a1a553fc..cabfc8146 100755 --- a/plugins/scheduler-docker-local/scheduler-deploy +++ b/plugins/scheduler-docker-local/scheduler-deploy @@ -85,7 +85,7 @@ trigger-scheduler-docker-local-scheduler-deploy() { [[ -n "$DOKKU_START_CMD" ]] && START_CMD="$DOKKU_START_CMD" if [[ "$PROC_TYPE" == "web" ]]; then - ports=($(plugn trigger network-compute-ports "$APP" "$PROC_TYPE" "$DOKKU_HEROKUISH")) + ports=($(plugn trigger network-compute-ports "$APP" "$PROC_TYPE" "$DOKKU_HEROKUISH" "$CONTAINER_INDEX")) local DOKKU_DOCKER_PORT_ARGS="" local DOKKU_PORT="" for p in "${ports[@]}"; do