feat: add Docker support for cross-platform deployment

This commit is contained in:
Yijia-Xiao
2026-04-04 08:14:01 +00:00
parent 4f965bf46a
commit 10c136f49c
4 changed files with 89 additions and 0 deletions

View File

@@ -118,6 +118,19 @@ Install the package and its dependencies:
pip install .
```
### Docker
Alternatively, run with Docker:
```bash
cp .env.example .env # add your API keys
docker compose run --rm tradingagents
```
For local models with Ollama:
```bash
docker compose --profile ollama run --rm tradingagents-ollama
```
### Required APIs
TradingAgents supports multiple LLM providers. Set the API key for your chosen provider: