feat(docker): keep results in a host folder when TRADINGAGENTS_DATA_DIR is set (#865)

- both compose services mount ${TRADINGAGENTS_DATA_DIR:-tradingagents_data}; unset keeps the named volume
- README and .env.example show the setting
This commit is contained in:
Yijia-Xiao
2026-09-24 19:38:41 +00:00
parent cf960d6382
commit 45391d0962
3 changed files with 7 additions and 2 deletions
+3
View File
@@ -47,6 +47,9 @@ NVIDIA_API_KEY=
#TRADINGAGENTS_MAX_RISK_ROUNDS=1
#TRADINGAGENTS_CHECKPOINT_ENABLED=false
# Docker: a host folder for results, reports and the memory log (unset: the tradingagents_data volume).
#TRADINGAGENTS_DATA_DIR=./data
# Paths and alpha benchmark. Unset uses ~/.tradingagents and the regional index.
#TRADINGAGENTS_RESULTS_DIR=
#TRADINGAGENTS_CACHE_DIR=