
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 40s
17 lines
425 B
Bash
Executable File
17 lines
425 B
Bash
Executable File
#!/bin/bash
|
|
source "${AGENT_PATH}/common.sh"
|
|
_check_required_env_vars "CONTAINER_NAME"
|
|
|
|
echo "Starting ELK stack..."
|
|
docker-compose up -d || _die "Failed to start ELK stack"
|
|
|
|
# Wait for services to be ready
|
|
echo "Waiting for services to start..."
|
|
sleep 5
|
|
|
|
# Check if services are running
|
|
if docker-compose ps | grep -q "Up"; then
|
|
echo "ELK stack started successfully"
|
|
else
|
|
_die "Failed to start ELK stack services"
|
|
fi |