Docker Compose Deployment

Single-server Raphtory with monitoring stack

Production-ready Docker Compose setup with Prometheus, Grafana, and best practices.

Complete Stack

Prometheus Configuration

Create prometheus.yml:

Grafana Datasource

Create grafana/datasources/prometheus.yml:

Deployment

Resource Sizing

Graph SizeCPUMemoryStorage
<10M edges4 cores16GB50GB SSD
10-50M edges8 cores32GB200GB SSD
50-100M edges16 cores64GB500GB SSD

Best Practices

  1. Persistence: Mount /data/graphs for persistent storage
  2. Logging: Centralize logs to /var/log/raphtory
  3. Backups: Schedule regular backups of graph data
  4. Updates: Use version pinning for production
  5. Monitoring: Configure Grafana alerts

See Also