Administrator Quick Start
Last Updated: 2025-12-01
This guide covers deployment, configuration, and ongoing administration of VoiceAssist.
Deployment Options
Quick Start (Docker Compose)
# Clone repository git clone https://github.com/your-org/VoiceAssist.git cd VoiceAssist # Configure environment cp .env.example .env # Edit .env with your settings # Start all services docker-compose up -d # Verify deployment curl http://localhost:8000/health
Production Deployment
For production environments, see:
Essential Configuration
Environment Variables
Key variables in .env:
# Database DATABASE_URL=postgresql://user:pass@localhost:5432/voiceassist # Redis REDIS_URL=redis://localhost:6379 # AI Services OPENAI_API_KEY=sk-... DEEPGRAM_API_KEY=... ELEVENLABS_API_KEY=... # Security JWT_SECRET=<secure-random-string> ENCRYPTION_KEY=<32-byte-key> # Feature Flags VOICE_MODE_ENABLED=true THINKER_TALKER_ENABLED=true
For complete configuration reference, see Configuration Reference.
Admin Panel
Accessing Admin Panel
- Navigate to
https://assist.asimo.io/admin - Log in with admin credentials
- You'll see the admin dashboard
Key Sections
| Section | Purpose |
|---|---|
| Dashboard | System health and metrics |
| Users | User management and roles |
| Knowledge Base | Document upload and indexing |
| Analytics | Usage statistics and costs |
| Settings | System configuration |
For detailed admin panel documentation, see Admin Panel Specs.
Health Monitoring
Health Endpoints
# Basic health check curl https://assist.asimo.io/health # Readiness check curl https://assist.asimo.io/ready # Detailed metrics curl https://assist.asimo.io/metrics
Key Metrics to Monitor
- Response latency - P95 < 500ms target
- Error rate - Should be < 1%
- Voice pipeline latency - First audio < 300ms
- Database connections - Pool utilization
- Cache hit rate - Redis effectiveness
Alerting
Configure alerts for:
- Service downtime
- High error rates (> 5%)
- Latency spikes (P95 > 2s)
- Disk space (< 20% free)
- Memory usage (> 80%)
User Management
Creating Users
# Via API curl -X POST https://assist.asimo.io/api/users \ -H "Authorization: Bearer $ADMIN_TOKEN" \ -H "Content-Type: application/json" \ -d '{"email": "user@example.com", "role": "user"}'
User Roles
| Role | Permissions |
|---|---|
user | Basic chat and voice access |
admin | Full system access |
readonly | View-only access |
Session Management
- Sessions expire after 24 hours by default
- Configure via
SESSION_TIMEOUTenv var - Force logout via admin panel
Knowledge Base Management
Uploading Documents
- Go to Admin Panel > Knowledge Base
- Click "Upload Documents"
- Select PDF or markdown files
- Wait for indexing to complete
Via API
curl -X POST https://assist.asimo.io/api/admin/kb/upload \ -H "Authorization: Bearer $ADMIN_TOKEN" \ -F "file=@document.pdf"
Re-indexing
# Trigger full re-index curl -X POST https://assist.asimo.io/api/admin/kb/reindex \ -H "Authorization: Bearer $ADMIN_TOKEN"
Backup and Recovery
Database Backups
# Manual backup pg_dump -h localhost -U postgres voiceassist > backup.sql # Restore psql -h localhost -U postgres voiceassist < backup.sql
Automated Backups
Configure via cron or backup service:
# Daily backup at 2 AM 0 2 * * * /opt/scripts/backup-voiceassist.sh
For complete disaster recovery procedures, see Disaster Recovery Runbook.
Security
SSL/TLS
- All traffic should use HTTPS
- Certificates via Let's Encrypt or your CA
- Configure in reverse proxy (nginx/Apache)
API Security
- JWT tokens for authentication
- Rate limiting enabled by default
- CORS configured for allowed origins
Audit Logging
All admin actions are logged:
# View recent admin actions curl https://assist.asimo.io/api/admin/audit \ -H "Authorization: Bearer $ADMIN_TOKEN"
For complete security documentation, see Security Compliance.
Troubleshooting
Common Issues
| Issue | Solution |
|---|---|
| Service won't start | Check logs: docker-compose logs api-gateway |
| Database connection | Verify DATABASE_URL and PostgreSQL status |
| Voice not working | Check Deepgram/ElevenLabs API keys |
| Slow responses | Check Redis cache and AI service latency |
Log Locations
# Docker logs docker-compose logs -f api-gateway # Application logs tail -f /var/log/voiceassist/app.log
Getting Help
Maintenance Tasks
Regular Maintenance
| Task | Frequency | Command |
|---|---|---|
| Database vacuum | Weekly | VACUUM ANALYZE; |
| Log rotation | Daily | Automatic via logrotate |
| Cache cleanup | Monthly | redis-cli FLUSHDB (if needed) |
| Security updates | Weekly | apt update && apt upgrade |
Upgrades
# Pull latest changes git pull origin main # Update dependencies pnpm install # Run migrations pnpm db:migrate # Rebuild and restart docker-compose build && docker-compose up -d
Key Documentation
- Admin Panel Specs
- Configuration Reference
- Production Deployment Runbook
- Disaster Recovery Runbook
- Security Compliance
- HIPAA Compliance Matrix
Next Steps
- Review Production Readiness Checklist
- Set up Monitoring & Observability
- Configure Backup Procedures