[ci skip] docs: update arguments for check-deploy
This commit is contained in:
1 parent
c731480360
commit
befb5a0dd9
1 file changed
+2
-2
@@ -65,7 +65,7 @@ echo false
|
|||||||
|
|
||||||
- Description: Allows you to run checks on a deploy before dokku allows the container to handle requests.
|
- Description: Allows you to run checks on a deploy before dokku allows the container to handle requests.
|
||||||
- Invoked by: `dokku deploy`
|
- Invoked by: `dokku deploy`
|
||||||
- Arguments: `$CONTAINER_ID $APP $INTERNAL_PORT $INTERNAL_IP_ADDRESS`
|
- Arguments: `$APP $CONTAINER_ID $PROC_TYPE $PORT $IP`
|
||||||
- Example:
|
- Example:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
@@ -76,7 +76,7 @@ echo false
|
|||||||
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||||
source "$PLUGIN_AVAILABLE_PATH/config/functions"
|
source "$PLUGIN_AVAILABLE_PATH/config/functions"
|
||||||
|
|
||||||
CONTAINERID="$1"; APP="$2"; PORT="$3" ; HOSTNAME="${4:-localhost}"
|
APP="$1"; CONTAINERID="$2"; PROC_TYPE="$3"; PORT="$4" ; IP="$5"
|
||||||
|
|
||||||
eval "$(config_export app $APP)"
|
eval "$(config_export app $APP)"
|
||||||
DOKKU_DISABLE_DEPLOY="${DOKKU_DISABLE_DEPLOY:-false}"
|
DOKKU_DISABLE_DEPLOY="${DOKKU_DISABLE_DEPLOY:-false}"
|
||||||
|
|||||||
Reference in new issue
Block a user