mirror of
https://github.com/Xe138/AI-Trader.git
synced 2026-04-02 01:27:24 -04:00
Add WEB_HTTP_PORT environment variable to configure the host port for the web interface (port 8888). Container still uses 8888 internally, but host port can be customized via .env file.
32 lines
1.0 KiB
Plaintext
32 lines
1.0 KiB
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
|
|
|
|
# Web Interface Host Port (exposed on host machine)
|
|
# Container always uses 8888 internally
|
|
WEB_HTTP_PORT=8888
|
|
|
|
# Agent Configuration
|
|
AGENT_MAX_STEP=30
|