This page documents all deployment and management tools in the repository.
Deploys the complete monitoring stack.
What it installs:
Usage:
./do/tools/install-loki-stack.sh
Configuration:
monitoringdo/prod/config/loki-stack-values.yamlDeploys Wiki.js documentation platform with modern PostgreSQL.
What it installs:
Architecture:
┌─────────────┐ ┌─────────────┐
│ Wiki.js │────▶│ PostgreSQL │
│ (App) │ │ (v16) │
└─────────────┘ └─────────────┘
│
▼
┌─────────────┐
│ Ingress │
│ (TLS/cert) │
└─────────────┘
Why separate PostgreSQL?
The bundled Bitnami PostgreSQL sub-chart (v8.10.14) is from 2020 and its Docker images have been removed from registries. This script deploys PostgreSQL 16 Alpine separately for better security and maintenance.
Prerequisites:
Doppler secrets must be set:
DO_WIKI_PG_DB_NAME - Database nameDO_WIKI_PG_DB_USERNAME - Database usernameDO_WIKI_PG_DB_PASSWORD - Database passwordUsage:
./do/tools/install-wiki-js.sh
# Select storage size:
# 1) Minimal (1Gi Wiki + 2Gi PostgreSQL = ~$0.30/month)
# 2) Standard (2Gi Wiki + 3Gi PostgreSQL = ~$0.50/month)
# 3) Large (5Gi each = ~$1.00/month)
Deployment Process:
wiki namespaceConfiguration:
wikiwiki.communoplus.compostgres:16-alpinePost-Installation:
# Check pods
kubectl get pods -n wiki
# View Wiki.js logs
kubectl logs -n wiki -l app.kubernetes.io/name=wiki
# View PostgreSQL logs
kubectl logs -n wiki -l app=wiki-postgresql
# Port-forward for local access
kubectl port-forward -n wiki svc/wiki 3000:80
Deploys Redis for caching.
Usage:
./do/tools/install-redis.sh
Installs Doppler Kubernetes operator for secrets management.
Usage:
./do/tools/setup-doppler-operator.sh
# Get all pods across all namespaces
kubectl get pods --all-namespaces
# Get logs with follow
kubectl logs -f -n prod -l app=communoplus-api
# Execute into pod
kubectl exec -it -n prod deployment/communoplus-api -- /bin/sh
# Expand PostgreSQL PVC (online, no downtime)
kubectl patch pvc pgdata-wiki-postgresql-0 -n wiki \
-p '{"spec":{"resources":{"requests":{"storage":"10Gi"}}}}'
# Expand Wiki.js PVC
kubectl patch pvc data-wiki-0 -n wiki \
-p '{"spec":{"resources":{"requests":{"storage":"10Gi"}}}}'