Skip to content

Self-Hosted

Self-hosted deployment lets you run vowel on infrastructure you control.

Quick Start

Get the self-hosted stack running in minutes:

bash
# 1. Clone the repository
git clone https://github.com/usevowel/stack.git
cd stack

# 2. Copy and configure environment
cp stack/stack.env.example stack.env
# Edit stack.env and add your API keys

# 3. Start the stack
bun run stack:up

# 4. Verify with smoke test
bun run stack:test

# 5. View logs
bun run stack:logs

Services will be available at:

  • Core: http://localhost:3000 (token service, Web UI)
  • Engine: ws://localhost:8787/v1/realtime (WebSocket for voice)

Who This Is For

Choose self-hosted when you want:

  • Your own deployment boundary
  • Your own token issuance path
  • Custom networking, auth, or backend policy
  • Operator control over runtime configuration

What The Self-Hosted Stack Includes

The self-hosted stack has two primary services:

ServiceDefault URLPurpose
Corehttp://localhost:3000Token issuance, app management, Web UI
Realtime Enginews://localhost:8787/v1/realtimeVoice AI WebSocket (OpenAI-compatible)

Your application typically talks to Core or your own backend to get a token, then connects to the realtime engine with that token.

Command Reference

Common stack management commands:

CommandDescription
bun run stack:upStart all services
bun run stack:downStop and remove containers
bun run stack:logsView service logs
bun run stack:buildRebuild container images
bun run stack:testRun smoke tests

Hosted Vs Self-Hosted

Use the hosted platform if you want:

  • The fastest path to integration
  • Managed app configuration
  • Platform-managed setup with appId

Use self-hosted if you want:

  • Infrastructure control
  • Your own token and networking boundaries
  • Custom backend mediation for session access

Required API Keys

Before deploying, obtain API keys from:

ProviderPurposeWhere to Get
DeepgramSpeech-to-text and text-to-speechdeepgram.com
Groq or OpenRouterLLM for AI responsesgroq.com or openrouter.ai

Documentation

Source Repository

The self-hosted stack is open source at github.com/usevowel/stack.

Individual components: