refactor: reorganize project structure — consolidate Docker files, clean root

- Delete temp files: _tmp_analysis.py, nul, dashboard_screenshot.png
- Move ea/ to archive/ea/ (deprecated)
- Move 12 Docker helper scripts (.bat/.sh) to docker/scripts/
- Move 5 Docker docs to docker/docs/
- Move .env.docker.example, requirements-docker.txt to docker/
- Update all scripts with cd to project root for correct path resolution
- Update all doc references to new paths
- Update .gitignore with bot.pid, bot_output.log, *.png patterns
- Update CLAUDE.md, README.md directory trees

Root reduced from ~40 files to 12 essential files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
GifariKemal
2026-02-08 14:21:11 +07:00
parent 61877480b3
commit b2dc2dacd7
22 changed files with 110 additions and 68 deletions
+32
View File
@@ -0,0 +1,32 @@
#!/bin/bash
# XAUBot AI - Docker Stop Script
set -e
cd "$(dirname "$0")/../.."
echo "🛑 Stopping XAUBot AI Docker Services..."
echo ""
# Parse arguments
if [ "$1" == "--remove" ] || [ "$1" == "-r" ]; then
echo "⚠️ Stopping and removing containers..."
docker-compose down
echo "✅ Containers stopped and removed"
elif [ "$1" == "--clean" ] || [ "$1" == "-c" ]; then
echo "⚠️ WARNING: This will remove all data including database!"
read -p "Are you sure? (yes/no): " confirm
if [ "$confirm" == "yes" ]; then
docker-compose down -v
echo "✅ Containers, networks, and volumes removed"
else
echo "❌ Cancelled"
fi
else
echo "🔄 Stopping containers (data will be preserved)..."
docker-compose stop
echo "✅ Containers stopped"
fi
echo ""
echo "📋 To restart: ./docker/scripts/docker-start.sh"
echo ""