Guides

Deployment

Deploy ConvoFlow to production environments.

This guide covers deploying ConvoFlow to production using Docker or traditional hosting methods.

Docker Deployment (Recommended)

The easiest way to deploy ConvoFlow is using Docker Compose:

bash
# Build and start services
docker-compose up -d --build

# View logs
docker-compose logs -f

# Stop services
docker-compose down

Production Considerations

Once deployed, you'll see your workflow in the sidebar:

Deployed workflow shown in sidebar

The toolbar will also show the deployed status:

Toolbar showing deployed status
  • Environment Variables: Use secure environment variable management
  • Database: Use managed PostgreSQL for production
  • SSL/TLS: Configure HTTPS for secure connections
  • Backup: Set up regular database backups
  • Monitoring: Implement logging and monitoring
  • Scaling: Consider horizontal scaling for high traffic

Environment Configuration

Configure production environment variables:

bash
# Production .env
NODE_ENV=production
POSTGRES_PASSWORD=secure-password-here
DATABASE_URL=postgresql://user:pass@host:5432/convoflow
OPENAI_API_KEY=your-key-here
# ... other API keys

Security Best Practices

  • Never commit API keys or secrets to version control
  • Use environment variables or secret management services
  • Enable CORS only for trusted domains
  • Implement rate limiting
  • Use HTTPS in production
Was this page helpful?