Skip to content

Deployment

Production deployment guide for Friday Assistant.

Documentation Site

The docs site uses Azure Static Web Apps with Azure AD authentication. See Auth Setup for details.

Quick deploy:

  1. Push repo to GitHub/Azure DevOps
  2. Create Azure Static Web App linked to repo
  3. Add AAD_CLIENT_ID and AAD_CLIENT_SECRET to app settings
  4. Update tenant ID in staticwebapp.config.json

Backend

Docker

  1. Build the image:
docker build -t bayer-assistant-agent .
  1. Run with environment variables:
docker run -d \
  --name bayer-agent \
  --env-file .env \
  -p 8000:8000 \
  bayer-assistant-agent

Manual

  1. Set up Python environment on server
  2. Install dependencies: pip install -r requirements.txt
  3. Configure environment variables
  4. Run: python agent.py

Frontend

  1. Update environment variables for production
  2. Change Azure AD redirect URI to production URL
  3. Build: pnpm build
  4. Deploy to hosting platform (Vercel, AWS, Azure, etc.)

The included Dockerfile can be used for containerized deployments.

Checklist

  • [ ] LiveKit server accessible
  • [ ] Environment variables configured
  • [ ] Azure AD redirect URIs updated
  • [ ] SSL/TLS configured for HTTPS
  • [ ] Firewall rules for required ports
  • [ ] Logging and monitoring set up