- Fixed critical timeframe mapping bug where '4h' was interpreted as '4 minutes' - Now prioritizes minute values: '4h' -> ['240', '240m', '4h', '4H'] - Added fallback mechanism to enter exact minutes (240) in custom interval input - Fixed multiple syntax errors in tradingview-automation.ts: * Missing closing parentheses in console.log statements * Missing parentheses in writeFile and JSON.parse calls * Fixed import statements for fs and path modules * Added missing utility methods (fileExists, markCaptchaDetected, etc.) - Enhanced timeframe selection with comprehensive hour mappings (1h, 2h, 4h, 6h, 12h) - Added detailed logging for debugging timeframe selection - Application now builds successfully without syntax errors - Interval selection should work correctly for all common timeframes Key improvements: ✅ 4h chart selection now works correctly (240 minutes, not 4 minutes) ✅ All TypeScript compilation errors resolved ✅ Enhanced debugging output for timeframe mapping ✅ Robust fallback mechanisms for interval selection ✅ Docker integration and manual CAPTCHA handling maintained
32 lines
870 B
YAML
32 lines
870 B
YAML
# Docker Compose override for development
|
|
# This file is automatically merged with docker-compose.yml in development
|
|
# Use: docker compose up (will automatically include this file)
|
|
|
|
services:
|
|
app:
|
|
# Development-specific settings
|
|
environment:
|
|
- NODE_ENV=development
|
|
- NEXT_TELEMETRY_DISABLED=1
|
|
|
|
# Enable hot reloading for development
|
|
volumes:
|
|
- ./:/app
|
|
- /app/node_modules
|
|
- ./screenshots:/app/screenshots
|
|
- ./videos:/app/videos
|
|
- ./.env:/app/.env # Mount .env file for development
|
|
|
|
# Override command for development
|
|
command: ["npm", "run", "dev:docker"]
|
|
|
|
# Expose additional ports for debugging if needed
|
|
ports:
|
|
- "3000:3000"
|
|
- "9229:9229" # Node.js debugging port
|
|
|
|
# Add development labels
|
|
labels:
|
|
- "traefik.enable=false"
|
|
- "dev.local=true"
|