mirror of
https://github.com/nethunterzist/trendyol-analiz
synced 2026-06-30 17:17:02 +00:00
- 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>
40 lines
1.1 KiB
Bash
Executable File
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 ""
|