Deploy Dograh

Open-source voice AI agents: a self-hosted Vapi and Retell alternative

Deploy Dograh

Just deployed

/data

/data

/var/lib/postgresql/data

Just deployed

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

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=false on dograh-api so 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_HOST and TURN_SECRET on dograh-api.
  • With a custom domain, update PUBLIC_BASE_URL, UI_APP_URL, S3_ENDPOINT_URL and PUBLIC_HOST on dograh-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

More templates in this category

View Template
Chat Chat
Chat Chat, your own unified chat and search to AI platform.

okisdev
117
View Template
Weaviate
Vector database with hybrid search and an API key-protected API

GitHub Locker
1
View Template
Möbius Personal AI OS
Self-hosted AI agent that builds and runs apps for you, with memory.

Tracklayer
1