mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-06-27 02:30:08 +00:00
15 lines
459 B
Bash
15 lines
459 B
Bash
![]() |
#!/usr/bin/env bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
SCRIPT_DIR="$(dirname "$(dirname "$(realpath "$0")")")"
|
||
|
ENV_FILE="$SCRIPT_DIR"/common/es-dest-ingest-test-creds.env
|
||
|
|
||
|
# Create the Elasticsearch cluster
|
||
|
docker compose version
|
||
|
docker compose --env-file "$ENV_FILE" -f "$SCRIPT_DIR"/common/docker-compose.yaml up --wait
|
||
|
docker compose --env-file "$ENV_FILE" -f "$SCRIPT_DIR"/common/docker-compose.yaml ps
|
||
|
|
||
|
echo "Cluster is live."
|
||
|
"$SCRIPT_DIR"/source_connector/create_and_fill_es.py
|