Installation Options
VIGIA can be deployed in several ways depending on your needs:Docker Compose
Recommended for most usersEasy setup with all dependencies included
Manual Installation
Full controlInstall backend and frontend separately
Production Deployment
Enterprise readyKubernetes, load balancing, high availability
Development Setup
For contributorsLocal development environment
System Requirements
Minimum Requirements
- CPU: 2 cores
- RAM: 4 GB
- Storage: 20 GB
- OS: Linux (Ubuntu 20.04+), macOS, Windows (with WSL2)
Recommended for Production
- CPU: 4+ cores
- RAM: 8+ GB
- Storage: 100+ GB SSD
- OS: Ubuntu 22.04 LTS or RHEL 8+
- Network: Static IP, HTTPS support
Software Dependencies
- Docker
- Manual
- Docker Engine 24.0+
- Docker Compose 2.20+
Docker Compose Installation (Recommended)
Review Docker Compose Configuration
The provided
docker-compose.yml defines the services:docker-compose.yml
Customize this file for production:
- Add frontend service
- Configure nginx reverse proxy
- Add Redis for caching
- Set up volume mounts for persistent storage
Manual Installation
For more control or development purposes, install components separately.Backend Setup
Install Python Dependencies
requirements.txt:fastapi[all]- Web frameworksqlalchemy- ORMpsycopg2-binary- PostgreSQL adapterpython-jose[cryptography]- JWT tokenspytesseract- OCRopenai- AI integrationcelery- Background tasks
Frontend Setup
Install Node.js Dependencies
package.json:react19.1.0 - UI library@coreui/react5.7.1 - UI componentsreact-router-dom7.8.0 - Routingaxios1.11.0 - HTTP clientchart.js4.5.1 - Charts
Production Deployment
SSL/HTTPS Configuration
Systemd Service (Backend)
Create/etc/systemd/system/vigia-api.service:
Database Backups
Multi-Tenant Deployment
For multi-tenant setups:- Database per Tenant: Each tenant gets isolated PostgreSQL database
- Subdomain Routing:
tenant1.vigia.com,tenant2.vigia.com - Shared Application: Single API instance serves all tenants
Troubleshooting
Import Errors
Import Errors
Database Connection Failed
Database Connection Failed
OCR Not Working
OCR Not Working
Next Steps
Configuration Guide
Advanced configuration options
API Reference
Explore the REST API
User Guide
Learn platform features
Administration
Set up users and access control