Skip to content
DocsDeploymentProduction Deployment

Production Deployment

Deploy Mosaic Stack to production environments.

Production Deployment#

This guide covers best practices for deploying Mosaic Stack in a production environment.

Infrastructure Requirements#

  • Kubernetes 1.28+ or Docker Swarm
  • PostgreSQL 15+ (managed or self-hosted)
  • Redis 7+ for caching and rate limiting
  • Minimum 4 CPU cores and 8 GB RAM for the gateway

TLS Configuration#

Always terminate TLS at the ingress level. Use cert-manager for automatic certificate management:

yaml
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  name: mosaic-tls
spec:
  secretName: mosaic-tls-secret
  issuerRef:
    name: letsencrypt-prod
    kind: ClusterIssuer
  dnsNames:
    - api.mosaicstack.dev