This compose file runs the Chat2AnyLLM application stack independently from the LiteLLM proxy.
chat2anyllm-backend- Node.js backend (port 3001)chat2anyllm-frontend- React frontend (port 3000)chat2anyllm-postgres- PostgreSQL for sessions/roles (dedicated instance)openwebui- Open WebUI (port 8000, optional)
The LiteLLM stack must be running separately:
# From repo root
docker-compose up -dThis exposes LiteLLM on http://localhost:4141.
# Start the app stack
docker-compose up -d --build
# View logs
docker-compose logs -f chat2anyllm-backend
# Stop the app stack
docker-compose downThe backend connects to LiteLLM via LITELLM_ENDPOINT (default: http://host.docker.internal:4141).
Override if needed:
LITELLM_ENDPOINT=http://custom-host:4141 docker-compose up -d- The app stack uses its own network (
chat2anyllm-network) and Postgres instance - LiteLLM runs in a separate stack with its own network (
litellm-network) - Both stacks are completely independent and can start/stop separately