4b801e3444
Adds apps/notesnook (namespace, config, mongo rs0 StatefulSet, minio, identity/sync/sse/monograph deployments + Traefik/cert-manager ingresses) and argocd/notesnook.yaml. Secret applied out-of-band (only .example committed). Includes design spec + implementation plan under docs/superpowers. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
38 lines
1.0 KiB
YAML
38 lines
1.0 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: notesnook-monograph
|
|
namespace: notesnook
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: notesnook-monograph
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: notesnook-monograph
|
|
spec:
|
|
containers:
|
|
- name: monograph
|
|
image: streetwriters/monograph:latest
|
|
envFrom:
|
|
- configMapRef: { name: notesnook-config }
|
|
- secretRef: { name: notesnook-secret }
|
|
env:
|
|
- name: HOST
|
|
value: "0.0.0.0"
|
|
- name: API_HOST
|
|
value: "http://notesnook-sync:5264"
|
|
- name: PUBLIC_URL
|
|
value: "https://monograph.notes.aleshym.co"
|
|
ports:
|
|
- { containerPort: 3000, name: http }
|
|
readinessProbe:
|
|
httpGet: { path: /, port: 3000 }
|
|
initialDelaySeconds: 20
|
|
periodSeconds: 15
|
|
resources:
|
|
requests: { cpu: "50m", memory: "128Mi" }
|
|
limits: { cpu: "500m", memory: "512Mi" }
|