Deployment Reference
Complete guide to deploying OLIVE in development, staging, and production environments.Prerequisites
Docker
Docker 20.10+ and Docker Compose v2
Go
Go 1.21+ (for local builds)
Node.js
Node.js 18+ (for Agent-TS)
Local Development
Docker Compose (Recommended)
The fastest way to get OLIVE running locally:Verify Services
Manual Setup
For development without Docker:1
Start Wallet-Core
2
Start Gateway
3
Start Agent-TS
Production Deployment
Kubernetes
1
Create Namespace
2
Create TLS Secrets
3
Create ConfigMaps
4
Deploy Services
5
Verify Deployment
Render (Cloud)
Deploy using the includedrender.yaml:
Environment Variables
Required Variables
Optional Variables
TLS/mTLS Configuration
Enable TLS on Wallet-Core
Enable TLS on Gateway
Generate Certificates
Health Checks
Health Check Response
Scaling
Horizontal Scaling
Resource Limits
Database Scaling
- Use connection pooling (PgBouncer)
- Add read replicas for queries
- Consider sharding for high write volume
Monitoring
Prometheus Metrics
All services expose Prometheus-compatible metrics:Key Metrics
http_requests_total- Request count by statushttp_request_duration_seconds- Latency histogramgrpc_server_handled_total- gRPC call countwallet_transactions_total- Transaction count
Backup and Recovery
Database Backup
Backup Schedule
Security Checklist
- TLS/mTLS enabled on all services
- Strong JWT secrets configured (32+ chars)
- Rate limiting enabled and tuned
- Database encrypted (at-rest and in-transit)
- Audit logging enabled
- Firewall rules configured
- Network policies in Kubernetes
- Regular backups configured
- Monitoring and alerting active
Related
Security Reference
Security configuration details
Troubleshooting
Common issues and solutions