Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docker-rollout
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ Options:
--wait-after-healthy N When healthcheck is defined and succeeds, wait for additional N seconds
before stopping the old container (default: 0 seconds)
--env-file FILE Specify an alternate environment file
-p, --project-name NAME Specify an alternate project name
--profile NAME Specify an alternate profile to use
--pre-stop-hook CMD Run a command in the old container before stopping it.
-v, --version Print plugin version

Expand Down Expand Up @@ -196,6 +198,14 @@ while [ $# -gt 0 ]; do
ENV_FILES="$ENV_FILES --env-file $2"
shift 2
;;
-p | --project-name)
COMPOSE_COMMAND="$COMPOSE_COMMAND --project-name $2"
shift 2
;;
--profile)
COMPOSE_COMMAND="$COMPOSE_COMMAND --profile $2"
shift 2
;;
-t | --timeout)
HEALTHCHECK_TIMEOUT="$2"
shift 2
Expand Down