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

34
docker-compose.yml Normal file
View File

@@ -0,0 +1,34 @@
services:
tradingagents:
build: .
env_file:
- .env
volumes:
- ./results:/home/appuser/app/results
tty: true
stdin_open: true
ollama:
image: ollama/ollama:latest
volumes:
- ollama_data:/root/.ollama
profiles:
- ollama
tradingagents-ollama:
build: .
env_file:
- .env
environment:
- LLM_PROVIDER=ollama
volumes:
- ./results:/home/appuser/app/results
depends_on:
- ollama
tty: true
stdin_open: true
profiles:
- ollama
volumes:
ollama_data: