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
2. Run the Container
- 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.- Sign up at Railway.
- Follow the Railway Deployment Guide for step-by-step instructions.
- Set environment variables and secrets in the Railway dashboard.
- Deploy and monitor your app from the Railway UI.
Manual Deployment (Linux Server)
- Set up a Linux server (Ubuntu recommended).
- Install Python 3.11+, PostgreSQL, and Git.
- Clone the repo and set up the environment as in the Installation guide.
- Use a process manager (e.g.,
systemd
,supervisord
, orpm2
) to keep the app running. - (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.