Describe the feature you'd like
The Docker Compose configuration in docker/docker-compose.yml covers the CLI runners (hedge-fund, backtester, etc.) and an optional embedded Ollama, but there is no service for running the web application (FastAPI backend in app/backend + React frontend in app/frontend). Currently app/README.md only documents a manual local setup with separate uvicorn + npm run dev processes, which makes self-hosting on a server cumbersome.
Proposal: add a web profile to the existing docker/docker-compose.yml with two new services:
web-backend — reuses the existing ai-hedge-fund image without any changes to docker/Dockerfile or backend Python code; runs uvicorn app.backend.main:app on port 8000.
web-frontend — new multi-stage docker/Dockerfile.frontend (Node build → nginx) serving the production bundle on port 5173.
SQLite persistence (saved flows, run history, API keys) via a named volume, with VITE_API_URL overridable at build time so the same compose file works for local and remote deploys.
I have an implementation ready as a PR and will open it shortly.
Describe the feature you'd like
The Docker Compose configuration in
docker/docker-compose.ymlcovers the CLI runners (hedge-fund,backtester, etc.) and an optional embedded Ollama, but there is no service for running the web application (FastAPI backend inapp/backend+ React frontend inapp/frontend). Currentlyapp/README.mdonly documents a manual local setup with separateuvicorn+npm run devprocesses, which makes self-hosting on a server cumbersome.Proposal: add a
webprofile to the existingdocker/docker-compose.ymlwith two new services:web-backend— reuses the existingai-hedge-fundimage without any changes todocker/Dockerfileor backend Python code; runsuvicorn app.backend.main:appon port 8000.web-frontend— new multi-stagedocker/Dockerfile.frontend(Node build → nginx) serving the production bundle on port 5173.SQLite persistence (saved flows, run history, API keys) via a named volume, with
VITE_API_URLoverridable at build time so the same compose file works for local and remote deploys.I have an implementation ready as a PR and will open it shortly.