@@ -67,7 +67,7 @@ You may define these environment variables (**bold** are mandatory):
**REGISTRY_USER*: Docker registry username, corresponding to a user with read permissions. **Required** for private registry or repository.
**SERVICES_TO_AUTH*: Names of services which need authorization to access to private registry, separated by space. Default is empty, to use service names found into docker-compose files with stack prefix (`<stack-name>_<service-name>`).
**SERVICE*: Name of service to relaunch (`<stack-name>_<service-name>`). Available and **required** only for *relaunch* action.
**SERVICES_TO_CHECK*: Names of services to check after deployment, separated by space. Default is `STACK` variable value, but setting this to a valid service name is recommended (`<stack-name>_<service-name>`).
**SERVICES_TO_CHECK*: Names of services to check after deployment, separated by space. Default is empty, to use service names found into docker-compose files with stack prefix (`<stack-name>_<service-name>`).
**SERVICES_TO_DEPLOY*: Names of services to deploy, separated by space. Available only for standard (*docker-compose*) mode. Default is empty, to deploy all defined services.
**STATUS_CHECK_DELAY*: Seconds to wait before check deployment. Default `120`.
**STATUS_CHECK_INTERVAL*: Seconds to wait between check iterations. Default `20`.
echo-e"\n${INFO_COLOR}Checking deployment of services [${DATA_COLOR}${SERVICES_TO_CHECK}${INFO_COLOR}] at ${DATA_COLOR}${remoteHost}${INFO_COLOR} ..${NULL_COLOR}"
echo-e"\n${INFO_COLOR}Checking deployment of services [${DATA_COLOR}$(echo${servicesToCheck})${INFO_COLOR}] at ${DATA_COLOR}${remoteHost}${INFO_COLOR} ..${NULL_COLOR}"
checkDeployCmd="\
success='' ; \
for serviceToCheck in ${SERVICES_TO_CHECK} ; \
for serviceToCheck in $(echo${servicesToCheck}) ; \
do \
echo -e \"\\n${INFO_COLOR}Checking deployment of service ${DATA_COLOR}\${serviceToCheck}${INFO_COLOR} ..${NULL_COLOR}\" ; \