b2dc2dacd7
- 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>
46 lines
830 B
Batchfile
46 lines
830 B
Batchfile
@echo off
|
|
REM XAUBot AI - Docker Stop Script (Windows)
|
|
cd /d "%~dp0..\.."
|
|
|
|
echo.
|
|
echo Stopping XAUBot AI Docker Services...
|
|
echo.
|
|
|
|
if "%1"=="--remove" goto remove
|
|
if "%1"=="-r" goto remove
|
|
if "%1"=="--clean" goto clean
|
|
if "%1"=="-c" goto clean
|
|
goto stop
|
|
|
|
:remove
|
|
echo Stopping and removing containers...
|
|
docker-compose down
|
|
echo.
|
|
echo Containers stopped and removed
|
|
goto end
|
|
|
|
:clean
|
|
echo WARNING: This will remove all data including database!
|
|
set /p confirm="Are you sure? (yes/no): "
|
|
if /i "%confirm%"=="yes" (
|
|
docker-compose down -v
|
|
echo.
|
|
echo Containers, networks, and volumes removed
|
|
) else (
|
|
echo.
|
|
echo Cancelled
|
|
)
|
|
goto end
|
|
|
|
:stop
|
|
echo Stopping containers data will be preserved...
|
|
docker-compose stop
|
|
echo.
|
|
echo Containers stopped
|
|
|
|
:end
|
|
echo.
|
|
echo To restart: docker\scripts\docker-start.bat
|
|
echo.
|
|
pause
|