mirror of
https://github.com/Xe138/AI-Trader.git
synced 2026-04-02 09:37:23 -04:00
Add inline comments with URLs for API key registration: - OPENAI_API_KEY: https://platform.openai.com/api-keys - ALPHAADVANTAGE_API_KEY: https://www.alphavantage.co/support/#api-key - JINA_API_KEY: https://jina.ai/ Makes it easier for users to find where to get their API keys.
32 lines
1.1 KiB
Plaintext
32 lines
1.1 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 # https://platform.openai.com/api-keys
|
|
|
|
# Data Source Configuration
|
|
ALPHAADVANTAGE_API_KEY=your_alphavantage_key_here # https://www.alphavantage.co/support/#api-key
|
|
JINA_API_KEY=your_jina_key_here # https://jina.ai/
|
|
|
|
# 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
|