Bank Services tested and completed

This commit is contained in:
2025-04-21 14:33:25 +03:00
parent 2c5f00ab1d
commit 35aab0ba11
31 changed files with 1751 additions and 15 deletions

26
check_bank_services.sh Executable file
View File

@@ -0,0 +1,26 @@
#!/bin/bash
# Simple script to restart bank services
# Created: 2025-04-20
# Set the working directory to the script's location
cd "$(dirname "$0")"
echo "Working directory: $(pwd)"
# Configuration
COMPOSE_FILE="bank-services-docker-compose.yml"
# Check if the compose file exists
if [ ! -f "$COMPOSE_FILE" ]; then
echo "ERROR: Compose file $COMPOSE_FILE not found in $(pwd)"
exit 1
fi
echo "$(date '+%Y-%m-%d %H:%M:%S') Stopping any running bank services..."
docker compose -f "$COMPOSE_FILE" down
echo "$(date '+%Y-%m-%d %H:%M:%S') Rebuilding and starting bank services..."
docker compose -f "$COMPOSE_FILE" up --build -d
echo "$(date '+%Y-%m-%d %H:%M:%S') Bank services restart completed"
exit 0