Choose deployment mode
Select one mode before running commands:Voice Only (Recommended)
- Use this for voice assistants that call LLM providers directly.
- Services started:
ui,nginx,web-api,assistant-api,integration-api,endpoint-api,postgres,redis - Minimum RAM: 4 GB
- Start command (builds and starts):
make up-all - Optional pre-build command:
make build-all
Voice + Knowledge Base
- Use this if assistants need document retrieval (RAG).
- Adds:
document-apiandopensearch - Minimum RAM: 8 to 16 GB
- Start command (builds and starts):
make up-all-with-knowledge - Optional pre-build command:
make build-all-with-knowledge
make up-all-with-knowledge. Existing PostgreSQL and Redis data is not changed.
- Docker (Recommended)
- Manual Setup
The fastest way to get Rapida running with all services configured automatically.This creates:This validates Docker daemon access, Docker Compose availability, memory/disk constraints, and common local port conflicts.All containers should show Your existing data (PostgreSQL, Redis) is untouched. The new services simply start alongside what’s already running.Update PostgreSQL environment variables in Update Redis settings in service Then set the OpenSearch vars in And run with the knowledge profile:
Prerequisites
- Docker Desktop or Docker Engine (v20.10+)
- Docker Compose (v2.0+) - included with Docker Desktop
- 4GB+ RAM available
- 10GB free disk space
linux/amd64. The Makefile sets DOCKER_DEFAULT_PLATFORM=linux/amd64 automatically for all make commands. Use make commands instead of running docker compose build directly.Installation Steps
Run Setup
~/rapida-data/assets/db- PostgreSQL~/rapida-data/assets/redis- Redis~/rapida-data/assets/opensearch- OpenSearch (only used with the knowledge base profile)
Run preflight checks (recommended)
Start Rapida
- Voice Only (recommended)
- With Knowledge Base
Starts all core services: web-api, assistant-api, integration-api, endpoint-api, UI, PostgreSQL, Redis, and Nginx.
document-api and opensearch are not started.
This command also builds required images in low-memory mode.Optional: pre-build images separately
If you want to pre-build before startup or use CI cache warming:Initial build takes 5–10 minutes depending on your network speed.
- Voice Only (recommended)
- With Knowledge Base
Builds all core services. Does not include
document-api or opensearch.Access Dashboard
Open your browser:
- Dashboard: http://localhost:3000
- API Gateway: http://localhost:8080
Verify Services Are Running
Up status.Enabling Knowledge Base Later
Started with Voice Only and want to add knowledge base support? No reinstall needed:View Logs
Stop Services
Using Existing Infrastructure
If you already have PostgreSQL, Redis, or OpenSearch running, you can skip those services.Example: Use Existing PostgreSQL
Editdocker-compose.yml and comment out or remove the postgres service:docker/web-api/.web.env:Example: Use Existing Redis
Comment out Redis indocker-compose.yml:.env files:Example: Use Existing OpenSearch
OpenSearch is only required for the knowledge base. If you don’t need knowledge base features, simply runmake up-all (without the with-knowledge profile) and OpenSearch is not started at all.If you do need knowledge base support and want to use an existing OpenSearch instance, comment out the opensearch service in docker-compose.knowledge.yml:docker/assistant-api/.assistant.env:Next Steps
After installation:- Configure Services - Set up API keys and integrations
- Services Overview - Understand what each service does
- Troubleshooting - Fix common issues