diff --git a/abra b/abra index 8d90212..79c3455 100755 --- a/abra +++ b/abra @@ -261,7 +261,16 @@ sub_deploy (){ echo "About to deploy:" echo " Context: $(tput setaf 4)${DOCKER_CONTEXT}$(tput sgr0)" - echo " Compose: $(tput setaf 3)${ABRA_STACK_DIR}/${COMPOSE_FILE}$(tput sgr0)" + if [ "${COMPOSE_FILE/:/}" == "${COMPOSE_FILE}" ]; then + echo " Compose: $(tput setaf 3)${ABRA_STACK_DIR}/${COMPOSE_FILE}$(tput sgr0)" + else + echo " Compose: $(tput setaf 3)${ABRA_STACK_DIR}/" + IFS=':' read -ra COMPOSE_FILES <<< "$COMPOSE_FILE" + for COMPOSE in "${COMPOSE_FILES[@]}"; do + echo " - ${COMPOSE}" + done + tput sgr0 + fi if [ -n "$DOMAIN" ]; then echo " Domain: $(tput setaf 2)${DOMAIN}$(tput sgr0)" fi