Skip to main content

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

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 included render.yaml:

Environment Variables

Required Variables

Optional Variables

Never commit secrets to version control. Use environment variables or a secrets manager.

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 status
  • http_request_duration_seconds - Latency histogram
  • grpc_server_handled_total - gRPC call count
  • wallet_transactions_total - Transaction count

Backup and Recovery

Database Backup

Backup Schedule


Security Checklist

Complete this checklist before production deployment.
  • 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

Security Reference

Security configuration details

Troubleshooting

Common issues and solutions