Deployment

This guide explains how to deploy Burki Voice AI for production use, including Docker, Railway, and manual deployment options.

Docker Deployment

1. Build the Docker Image

docker build -t burki .

2. Run the Container

docker run -p 8000:8000 --env-file .env burki
  • The app will be available at http://localhost:8000
  • Make sure your .env file is configured with production settings and secrets.

Railway Deployment

Railway is a cloud platform for easy deployment.
  1. Sign up at Railway.
  2. Follow the Railway Deployment Guide for step-by-step instructions.
  3. Set environment variables and secrets in the Railway dashboard.
  4. Deploy and monitor your app from the Railway UI.

Manual Deployment (Linux Server)

  1. Set up a Linux server (Ubuntu recommended).
  2. Install Python 3.11+, PostgreSQL, and Git.
  3. Clone the repo and set up the environment as in the Installation guide.
  4. Use a process manager (e.g., systemd, supervisord, or pm2) to keep the app running.
  5. (Recommended) Use a reverse proxy (e.g., Nginx) to serve the app securely over HTTPS.

Production Tips

  • Use strong, unique secrets in your .env file.
  • Set up automated backups for your database and recordings.
  • Monitor logs and metrics for performance and errors.
  • Restrict API keys and credentials to only what is needed.
  • Regularly update dependencies and security patches.