Backend for Dograh AI
50K+
Backend service for Dograh AI — the open-source alternative to Vapi for building and deploying voice AI agents with telephony and WebRTC support.
Dograh lets you go from zero to a working voice bot in under 2 minutes, with a drag-and-drop workflow builder, bring-your-own LLM/TTS/STT, and first-class self-hosting.
dograhai/dograh-uiA FastAPI application that powers the Dograh platform:
dograh-ui frontendThis image is designed to run as part of the full Dograh stack via Docker Compose (Postgres + Redis + MinIO + API + UI).
curl -o docker-compose.yaml https://raw.githubusercontent.com/dograh-hq/dograh/main/docker-compose.yaml
REGISTRY=dograhai ENABLE_TELEMETRY=true docker compose up --pull always
Then open http://localhost:3010 to create your first AI voice assistant. No API keys required — Dograh auto-provisions defaults so you can start immediately, and you can swap in your own keys anytime.
For remote-server deployment with HTTPS and a TURN server, see the Docker Deployment Guide.
latest — latest stable releaseX.Y.Z — specific versioned releases (see the changelog)<commit-sha> — images built from a specific commit on mainPick a tag from the tags page and pin it in your docker-compose.yaml.
⚠️ Always use the same tag for both
dograh-apianddograh-ui. The API and UI are released together and are only guaranteed to be compatible when their tags match (same version number, or same commit SHA). Mixing tags will lead to runtime errors.
Edit docker-compose.yaml and set the same tag on both services:
services:
api:
image: dograhai/dograh-api:1.25.0 # ← same tag
ui:
image: dograhai/dograh-ui:1.25.0 # ← same tag
Pull the new images and restart the stack:
docker compose pull
docker compose up -d
Or in one step: docker compose up -d --pull always.
Verify both containers are healthy:
docker compose ps
To roll back, set both tags to the previous version and repeat the steps above. Postgres schema migrations run automatically on API start — review the changelog before jumping multiple major versions.
The API is configured entirely through environment variables. The most important ones:
| Variable | Description |
|---|---|
DATABASE_URL | Async Postgres DSN (e.g. postgresql+asyncpg://...) |
REDIS_URL | Redis connection URL |
MINIO_ENDPOINT / MINIO_ACCESS_KEY / MINIO_SECRET_KEY | S3-compatible storage for audio |
BACKEND_API_ENDPOINT | Public URL the UI/clients reach the API at |
OSS_JWT_SECRET | JWT signing secret — change in production |
TURN_HOST / TURN_SECRET | TURN server for WebRTC NAT traversal (remote deploy) |
ENABLE_TRACING, LANGFUSE_* | Optional Langfuse tracing |
See the full docker-compose.yaml for the complete list.
BSD 2-Clause. Built by Dograh (Zansat Technologies Pvt. Ltd.).
⭐ If you find Dograh useful, star us on GitHub and join the Slack community.
Content type
Image
Digest
sha256:ce38c48a1…
Size
540.9 MB
Last updated
about 5 hours ago
docker pull dograhai/dograh-api:prod-22ddba51