Files
pad/deploy/k8s/configmap.yaml
T
xarmian af2755d5af docs: add deployment documentation, Docker Compose, and K8s manifests
Provide production-ready deployment configurations:
- docker-compose.yml: Pad + PostgreSQL + Redis single-command setup
- docker-compose.prod.yml: production overlay with resource limits
- deploy/k8s/: Kubernetes manifests (deployment, service, ingress, HPA)
- deploy/Caddyfile: Caddy reverse proxy with auto-TLS
- deploy/nginx.conf: nginx config with SSE-friendly proxy settings
- docs/deployment.md: environment variable reference, architecture
  diagram, quick start, production checklist
2026-04-06 01:58:04 +00:00

19 lines
428 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: pad-config
namespace: pad
data:
PAD_HOST: "0.0.0.0"
PAD_PORT: "7777"
PAD_DB_DRIVER: "postgres"
PAD_DATA_DIR: "/data"
PAD_LOG_LEVEL: "info"
PAD_SECURE_COOKIES: "true"
PAD_SSE_MAX_CONNECTIONS: "1000"
PAD_SSE_MAX_PER_WORKSPACE: "100"
# Set your public URL:
# PAD_URL: "https://pad.example.com"
# CORS origins:
# PAD_CORS_ORIGINS: "https://pad.example.com"