
Deploy Dograh
Open-source voice AI agents: a self-hosted Vapi and Retell alternative
Just deployed
Redis
Just deployed
/data
Just deployed
/data
Just deployed
/var/lib/postgresql/data
dograh-api
Just deployed
dograh-ui
Just deployed
Deploy and Host Dograh on Railway
Dograh is an open-source voice AI platform and a self-hosted alternative to Vapi and Retell. You build voice agents in a visual workflow editor, bring your own LLM, speech-to-text and text-to-speech keys (or a speech-to-speech model), and run them as browser calls or over phone lines through providers such as Twilio, Vonage or Telnyx.
About Hosting Dograh
Dograh runs as a FastAPI backend with a background worker, a Next.js web app, Postgres with pgvector, Redis, and S3-compatible storage for recordings, transcripts and knowledge-base files. This template deploys Dograh 1.51.0 from the official images, pinned by digest, with Railway Postgres and Redis and a private MinIO on a volume. One nginx gateway serves the UI, the API (including WebSockets) and presigned storage links on a single HTTPS domain. Secrets are generated at deploy time, database migrations run when the API starts, and the deploy asks no questions. The first account you create is the admin account.
Common Use Cases
- Inbound phone agents for support, booking or FAQ lines, answering from your own knowledge-base documents
- Outbound call campaigns for reminders, lead qualification or surveys, with recordings and transcripts
- Testing voice agent flows in the browser before you connect a phone number
Dependencies for Dograh Hosting
- Postgres (Railway Postgres, with pgvector for knowledge-base search) and Redis
- An API key for at least one LLM, STT and TTS provider (or a speech-to-speech model), added in the Dograh UI after deploy
Deployment Dependencies
- Dograh source and docs: https://github.com/dograh-hq/dograh
- Template repo (Dockerfiles, changelog): https://github.com/aalfath/dograh-railway-template
- Optional telephony account (Twilio, Vonage, Plivo, Telnyx and others) for phone calls
Implementation Details
- Services:
dograh(public nginx gateway),dograh-api,dograh-ui,minio(volume at/data), Postgres and Redis. Only the gateway is public. - After creating your account, set
ENABLE_SIGNUP=falseondograh-apiso nobody else can sign up. - Railway has no public UDP, so the bundled TURN server (coturn) is not deployed. Browser calls use public STUN. To use your own TURN server, set
ENABLE_COTURN=true,TURN_HOSTandTURN_SECRETondograh-api. - With a custom domain, update
PUBLIC_BASE_URL,UI_APP_URL,S3_ENDPOINT_URLandPUBLIC_HOSTondograh-api. - All app services build from the template repo, so new Dograh versions reach you as Railway "update available" notices. Read the changelog before you apply one.
Why Deploy Dograh on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Dograh on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content

