Files
trendyol-analiz/stop-docker.sh
furkanyigit34 c7be57064b Initial commit: Trendyol Analiz platform
- FastAPI backend with Python
- React + Vite admin panel
- PostgreSQL database
- Trendyol marketplace analytics
- GitHub Actions CI/CD workflow

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 00:14:38 +03:00

40 lines
1.1 KiB
Bash
Executable File

#!/bin/bash
# ============================================
# Docker Stop Script for Trendyol Dashboard
# ============================================
# Stops and removes all containers
set -e # Exit on error
echo "======================================"
echo "🛑 Stopping Trendyol Dashboard"
echo "======================================"
# Check if Docker is running
if ! docker info > /dev/null 2>&1; then
echo "❌ Error: Docker is not running. Please start Docker and try again."
exit 1
fi
# Stop containers
echo ""
echo "🛑 Stopping containers..."
docker-compose down
echo ""
echo "======================================"
echo "✅ Trendyol Dashboard stopped!"
echo "======================================"
echo ""
echo "Data preserved in:"
echo " 📁 ./data/database (SQLite database)"
echo " 📁 ./categories (category data)"
echo " 📁 ./reports (report files)"
echo ""
echo "Next steps:"
echo " 🚀 Start again: ./start-docker.sh"
echo " 🔨 Rebuild images: ./build-docker.sh"
echo " 🗑️ Clean all data: docker-compose down -v"
echo ""