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>
40 lines
1.0 KiB
Bash
40 lines
1.0 KiB
Bash
# ===========================================
|
|
# XAUBot AI - Docker Environment Configuration
|
|
# ===========================================
|
|
|
|
# ============== MT5 CONNECTION ==============
|
|
# Your MetaTrader 5 account credentials
|
|
MT5_LOGIN=your_mt5_login
|
|
MT5_PASSWORD=your_mt5_password
|
|
MT5_SERVER=your_mt5_server
|
|
MT5_PATH=/path/to/mt5/terminal
|
|
|
|
# ============== TRADING CONFIG ==============
|
|
SYMBOL=XAUUSD
|
|
CAPITAL=10000
|
|
|
|
# ============== DATABASE ==============
|
|
DB_HOST=postgres
|
|
DB_PORT=5432
|
|
DB_USER=trading_bot
|
|
DB_PASSWORD=trading_bot_2026
|
|
DB_NAME=trading_db
|
|
|
|
# ============== TELEGRAM (Optional) ==============
|
|
TELEGRAM_BOT_TOKEN=
|
|
TELEGRAM_CHAT_ID=
|
|
|
|
# ============== PORTS ==============
|
|
# Ports accessible from host machine
|
|
API_PORT=8000 # Trading API (FastAPI)
|
|
DASHBOARD_PORT=3000 # Web Dashboard (Next.js)
|
|
DB_PORT=5432 # PostgreSQL
|
|
PGADMIN_PORT=5050 # pgAdmin (optional)
|
|
|
|
# ============== PGADMIN (Optional) ==============
|
|
PGADMIN_EMAIL=admin@trading.local
|
|
PGADMIN_PASSWORD=admin123
|
|
|
|
# ============== TIMEZONE ==============
|
|
TZ=Asia/Jakarta
|