fix run_demo.sh scripts

to ensure that otel is started earlier than plano
This commit is contained in:
Adil Hafeez 2026-03-11 12:13:49 -07:00
parent 2bb0826a51
commit eb35b40635
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
12 changed files with 96 additions and 84 deletions

View file

@ -24,15 +24,16 @@ start_demo() {
echo ".env file created with API keys."
fi
# Step 3: Start Plano
echo "Starting Plano with config.yaml..."
planoai up config.yaml
# Step 4: Optionally start UI services (AnythingLLM, Jaeger)
# Step 3: Optionally start UI services (AnythingLLM, Jaeger)
# Jaeger must start before Plano so it can bind the OTEL port (4317)
if [ "$1" == "--with-ui" ]; then
echo "Starting UI services (AnythingLLM, Jaeger)..."
docker compose up -d
fi
# Step 4: Start Plano
echo "Starting Plano with config.yaml..."
planoai up config.yaml
}
# Function to stop the demo