File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,10 +49,6 @@ docker_compose_options=() # Array to hold the options for docker compose
4949docker_compose_options+=(" -f" )
5050docker_compose_options+=(" ${SCRIPT_DIR} /docker-compose.yml" )
5151
52- # Add some default options for the docker compose up command
53- docker_compose_up_options+=(" --wait" ) # Wait for the containers to be ready
54-
55-
5652# Show value of STEPUP_VERSION and APP_ENV if set and process their values
5753# Warn if these values are not set to unexpected values
5854if [ -n " ${STEPUP_VERSION} " ]; then
@@ -93,7 +89,7 @@ while [[ $# -gt 0 ]]; do
9389 echo " "
9490 echo " Options:"
9591 echo " -h, --help Show this help message"
96- echo " -d Run docker compose up in detached mode"
92+ echo " -d Run docker compose up in detached mode (-d) with wait (--wait) "
9793 echo " <app>:<path> The <app> to override followed by the <path> to the local code for the app"
9894 echo " "
9995 echo " Any options after -- are passed to docker compose"
@@ -112,7 +108,7 @@ while [[ $# -gt 0 ]]; do
112108 -d | --detach)
113109 shift
114110 # add "-d" to docker_compose_up_options
115- docker_compose_up_options+=(" -d " )
111+ docker_compose_up_options+=(" --wait " )
116112 ;;
117113 --)
118114 # End of options for this script, everything after this is passed to docker compose
You can’t perform that action at this time.
0 commit comments