mirror of
https://github.com/Xe138/AI-Trader.git
synced 2026-04-01 17:17:24 -04:00
Internal container ports are now fixed at 8000-8003. Host ports are configurable via .env variables. This prevents port conflicts inside the container while allowing users to map to different host ports if needed.
28 lines
912 B
Plaintext
28 lines
912 B
Plaintext
# =============================================================================
|
|
# AI-Trader Environment Configuration
|
|
# =============================================================================
|
|
# Copy this file to .env and fill in your actual values
|
|
# Docker Compose automatically reads .env from project root
|
|
|
|
# AI Model API Configuration
|
|
OPENAI_API_BASE=https://your-openai-proxy.com/v1
|
|
OPENAI_API_KEY=your_openai_key_here
|
|
|
|
# Data Source Configuration
|
|
ALPHAADVANTAGE_API_KEY=your_alphavantage_key_here
|
|
JINA_API_KEY=your_jina_key_here
|
|
|
|
# System Configuration (Docker default paths)
|
|
RUNTIME_ENV_PATH=/app/data/runtime_env.json
|
|
|
|
# MCP Service Host Ports (exposed on host machine)
|
|
# Container always uses 8000-8003 internally
|
|
# Change these if you need different ports on your host
|
|
MATH_HTTP_PORT=8000
|
|
SEARCH_HTTP_PORT=8001
|
|
TRADE_HTTP_PORT=8002
|
|
GETPRICE_HTTP_PORT=8003
|
|
|
|
# Agent Configuration
|
|
AGENT_MAX_STEP=30
|