You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
676 B
31 lines
676 B
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
# Change directory to the 'scripts' folder
|
|
cd scripts
|
|
|
|
# Grant execute permissions to all shell scripts in the 'scripts' folder
|
|
chmod +x *.sh
|
|
|
|
# Run the 'env_check.sh' script for environment checks
|
|
./env_check.sh
|
|
|
|
# Move back to the parent directory
|
|
cd ..
|
|
|
|
# Check if Docker is installed
|
|
if ! command -v docker >/dev/null 2>&1; then
|
|
echo "Error: Docker is not installed. Please install Docker before running this script."
|
|
exit 1
|
|
fi
|
|
|
|
# Start Docker services using docker-compose
|
|
docker-compose up -d
|
|
|
|
# Move back to the 'scripts' folder
|
|
cd scripts
|
|
|
|
# Run the 'docker_check_service.sh' script for Docker service checks
|
|
./docker_check_service.sh
|