Deployment Guide
This guide covers deployment options and configurations for self-hosted Tiptree Platform installations.
Docker Deployment
Section titled “Docker Deployment”Prerequisites
Section titled “Prerequisites”- Docker Engine 20.10+
- Docker Compose 2.0+
- 4GB RAM minimum
- 20GB storage minimum
Basic Deployment
Section titled “Basic Deployment”- Clone the repository:
git clone https://github.com/tiptreesystems/platformcd platform- Configure environment:
cp .env.example .env# Edit .env with your configuration- Start the services:
docker compose up -dProduction Configuration
Section titled “Production Configuration”For production deployments, consider these additional steps:
- Use a reverse proxy (e.g., Nginx)
- Enable SSL/TLS
- Configure monitoring
- Set up backups
Example Nginx configuration:
server { listen 443 ssl; server_name platform.yourdomain.com;
ssl_certificate /path/to/cert.pem; ssl_certificate_key /path/to/key.pem;
location / { proxy_pass http://localhost:8000; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; }}Kubernetes Deployment
Section titled “Kubernetes Deployment”Prerequisites
Section titled “Prerequisites”- Kubernetes 1.22+
- Helm 3.0+
- kubectl configured
Installation
Section titled “Installation”- Add Helm repository:
helm repo add tiptree https://charts.tiptreesystems.comhelm repo update- Create values file:
platform: replicas: 3 resources: requests: memory: "1Gi" cpu: "500m" limits: memory: "2Gi" cpu: "1000m"- Install chart:
helm install tiptree-platform tiptree/platform -f values.yamlMonitoring
Section titled “Monitoring”We recommend using Prometheus and Grafana for monitoring:
- Metrics are exposed at
/metrics - Use provided Grafana dashboards
- Configure alerts for key metrics
Backup and Recovery
Section titled “Backup and Recovery”-
Database backups:
- Schedule regular backups
- Test recovery procedures
- Store backups securely
-
Configuration backups:
- Version control for configs
- Document all customizations
- Maintain deployment scripts