mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
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
67 lines
1.3 KiB
YAML
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
|