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>
20 lines
521 B
Batchfile
20 lines
521 B
Batchfile
@echo off
|
|
REM XAUBot AI - Docker Logs Viewer (Windows)
|
|
cd /d "%~dp0..\.."
|
|
|
|
set SERVICE=%1
|
|
set LINES=%2
|
|
if "%LINES%"=="" set LINES=100
|
|
|
|
if "%SERVICE%"=="" (
|
|
echo Viewing logs for all services...
|
|
echo Tip: Use 'docker-logs.bat SERVICE [LINES]' to view specific service
|
|
echo Available: trading-api, dashboard, postgres, pgadmin
|
|
echo.
|
|
docker-compose logs -f --tail=%LINES%
|
|
) else (
|
|
echo Viewing logs for: %SERVICE% last %LINES% lines
|
|
echo.
|
|
docker-compose logs -f --tail=%LINES% %SERVICE%
|
|
)
|