Files
docs/apps/base-docs/k8s/deployment.yaml
zeekay 9d3f6a634f Add base-docs app for base.hanzo.ai with landing page, docs, and K8s deployment
New docs site for Hanzo Base following the monorepo docs framework pattern:
- Landing page with feature grid, quick start, and architecture highlights
- 9 documentation sections: getting-started, collections, auth, realtime,
  file-storage, cloud-functions, SDK (JS + Go), and deployment
- K8s manifests for base.hanzo.ai (static docs) and api.base.hanzo.ai
  (multi-tenant Base platform with IAM/KMS integration)
- Dockerfile with nginx for static export serving
- Monochrome Hanzo theme via neutral.css + Geist fonts
2026-02-27 10:00:39 -08:00

67 lines
1.3 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: base-docs
namespace: hanzo
spec:
replicas: 2
selector:
matchLabels:
app: base-docs
template:
metadata:
labels:
app: base-docs
spec:
imagePullSecrets:
- name: ghcr-secret
containers:
- name: base-docs
image: ghcr.io/hanzoai/base-docs:latest
imagePullPolicy: Always
ports:
- containerPort: 3000
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 256Mi
---
apiVersion: v1
kind: Service
metadata:
name: base-docs
namespace: hanzo
spec:
selector:
app: base-docs
ports:
- port: 3000
targetPort: 3000
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: base-docs
namespace: hanzo
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
tls:
- hosts:
- base.hanzo.ai
secretName: base-hanzo-ai-tls
rules:
- host: base.hanzo.ai
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: base-docs
port:
number: 3000