Files
SearchServices/e2e-test/helpers/start-alfresco.sh
Piotr Żurek 41dd5d7cb9 Revert "Add more logs"
This reverts commit 1077d694786a02a09d2d5a0de9bdfb6f6ff2bb91.
2025-02-28 05:50:59 +01:00

21 lines
456 B
Bash
Executable File

#!/usr/bin/env bash
set -eux
# Start Alfresco and Solr.
# The location for the docker-compose files.
DOCKER_RESOURCE_FOLDER=$1
# The search docker image.
SEARCH_IMAGE=$2
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
export DOCKER_CLIENT_TIMEOUT=120
export COMPOSE_HTTP_TIMEOUT=120
# Build the images and call docker compose.
cd "$DOCKER_RESOURCE_FOLDER"
docker compose up -d --build --force-recreate
$SCRIPT_DIR/wait-service-to-start.sh