Revert "Created a light docker compose file in order to not get "No output has been received in the last 10m0s" in travis when executing tests"

This reverts commit b60966a6
This commit is contained in:
Claudia Agache
2020-10-07 09:45:35 +03:00
parent b60966a692
commit c11d061ccb
2 changed files with 2 additions and 22 deletions

View File

@@ -1,20 +0,0 @@
#!/usr/bin/env bash
export DOCKER_COMPOSE_PATH="${1}"
if [ -z "$DOCKER_COMPOSE_PATH" ] ; then
echo "Please provide path to docker-compose.yml: \"${0##*/} /path/to/docker-compose.yml\""
exit 1
fi
echo "Starting AGS stack in ${DOCKER_COMPOSE_PATH}"
# .env files are picked up from project directory correctly on docker-compose 1.23.0+
docker-compose --file "${DOCKER_COMPOSE_PATH}" --project-directory $(dirname "${DOCKER_COMPOSE_PATH}") up -d
if [ $? -eq 0 ] ; then
echo "Docker Compose started ok"
else
echo "Docker Compose failed to start" >&2
exit 1
fi