chore: Organize workspace structure - move docs, workflows, scripts to subdirectories
Organization: - Created docs/ with setup/, guides/, history/ subdirectories - Created workflows/ with trading/, analytics/, telegram/, archive/ subdirectories - Created scripts/ with docker/, setup/, testing/ subdirectories - Created tests/ for TypeScript test files - Created archive/ for unused reference files Moved files: - 17 documentation files → docs/ - 16 workflow JSON files → workflows/ - 10 shell scripts → scripts/ - 4 test files → tests/ - 5 unused files → archive/ Updated: - README.md with new file structure and documentation paths Deleted: - data/ (empty directory) - screenshots/ (empty directory) Critical files remain in root: - telegram_command_bot.py (active bot - used by Dockerfile) - watch-restart.sh (systemd service dependency) - All Dockerfiles and docker-compose files - All environment files Validation: Containers running (trading-bot-v4, telegram-trade-bot, postgres) API responding (positions endpoint tested) Telegram bot functional (/status command tested) All critical files present in root No code changes - purely organizational. System continues running without interruption. Recovery: git revert HEAD or git reset --hard cleanup-before
This commit is contained in:
24
scripts/docker/docker-stop.sh
Executable file
24
scripts/docker/docker-stop.sh
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Trading Bot v4 - Docker Stop Script
|
||||
# Safely stops all containers
|
||||
|
||||
set -e
|
||||
|
||||
echo "🛑 Stopping Trading Bot v4..."
|
||||
echo ""
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
# Stop containers
|
||||
docker-compose stop
|
||||
|
||||
echo ""
|
||||
echo "✅ Containers stopped"
|
||||
echo ""
|
||||
echo "To remove containers:"
|
||||
echo " docker-compose down"
|
||||
echo ""
|
||||
echo "To remove containers and volumes:"
|
||||
echo " docker-compose down -v"
|
||||
echo ""
|
||||
Reference in New Issue
Block a user