Commit Graph

14 Commits

Author SHA1 Message Date
55206549c7 feat: add configurable volume path for persistent data
Add VOLUME_PATH environment variable to customize storage location for
all persistent data (data/, logs/, configs/ subdirectories).

Changes:
- .env.example: Add VOLUME_PATH variable with documentation
- docker-compose.yml: Use ${VOLUME_PATH:-.} for all volume mounts
- docs/DOCKER.md: Document custom volume location feature

Benefits:
- Store data outside project directory (e.g., on separate disk)
- Easier backup/restore (single directory)
- Clean separation of code and data
- Support for absolute or relative paths

Usage:
  # In .env file
  VOLUME_PATH=/home/user/trading-data

  # Results in mounts:
  /home/user/trading-data/data:/app/data
  /home/user/trading-data/logs:/app/logs
  /home/user/trading-data/configs:/app/configs

Defaults to current directory (.) if not set for backward compatibility.
2025-10-30 23:40:21 -04:00
2f2c1d6ea2 feat: simplify Docker config file selection with convention over configuration
Implement automatic detection of custom_config.json for simpler Docker usage.
No environment variables or command-line arguments needed for most users.

Changes:
- entrypoint.sh: Add smart config detection (custom_config.json > CLI arg > default_config.json)
- docker-compose.yml: Add configs volume mount for editing without rebuilds
- docs/DOCKER.md: Update documentation with simplified workflow
- .gitignore: Add custom_config.json to prevent accidental commits

Usage:
  cp configs/default_config.json configs/custom_config.json
  nano configs/custom_config.json
  docker-compose up  # Automatically uses custom_config.json

Simplifies user experience by following convention over configuration principle.
2025-10-30 22:34:22 -04:00
79d14444ed docs: add data cache reuse design document
Captures design for staleness-based data refresh to avoid
re-fetching all 103 NASDAQ tickers on every container restart.

Key features:
- Check all daily_prices_*.json files for staleness
- Configurable MAX_DATA_AGE_DAYS threshold (default: 7)
- Bash wrapper logic in entrypoint.sh
- Handles edge cases (partial data, missing files, rate limits)
2025-10-30 21:46:05 -04:00
e4b7e197d3 Update repository URLs for fork
Change HKUDS/AI-Trader to Xe138/AI-Trader
Update all documentation links and references
2025-10-30 20:26:18 -04:00
85fc925b4e Add release process documentation
Complete guide for creating releases:
- Tag creation and push process
- GitHub Actions automation workflow
- Verification and testing steps
- Troubleshooting common issues
2025-10-30 19:26:56 -04:00
156d0cab21 Add Docker build test results
Local build verification completed successfully
Image builds without errors
Configuration parses correctly
2025-10-30 19:19:00 -04:00
733b6a4b1c Add Docker deployment documentation
Comprehensive guide including:
- Quick start instructions
- Configuration options
- Usage examples and volume persistence
- Troubleshooting common issues
- Pre-built image usage
2025-10-30 18:41:27 -04:00
efc2d754d6 Add Docker deployment implementation plan
Comprehensive 12-task plan including:
- Dockerfile and docker-compose.yml creation
- entrypoint.sh sequential startup script
- GitHub Actions CI/CD workflow
- Complete documentation (DOCKER.md, RELEASING.md)
- Testing and validation steps
2025-10-30 18:26:47 -04:00
6794a65ef6 Add Docker deployment design document
Comprehensive design for Docker containerization including:
- Single monolithic container approach for dev/testing
- docker-compose.yml with environment variable injection
- Sequential startup via entrypoint.sh script
- GitHub Actions workflow for automated image builds on release tags
- Documentation strategy and implementation checklist
2025-10-30 18:22:03 -04:00
tianyufan
1e835a5af8 update front 2025-10-28 21:37:24 +08:00
tianyufan
de59b006b7 update MiniMax-M2 2025-10-28 21:17:43 +08:00
yuhao
5bf8ddbc77 update arena frontend 2025-10-26 00:27:07 -07:00
tianyufan
1febc5c322 update frontend 2025-10-24 01:02:53 +08:00
tianyufan
df5c25c98d init update 2025-10-24 00:35:21 +08:00