mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-05 11:28:22 +01:00
Production is fully self-hosted on the Hetzner box (bitbaum, behind Caddy) with self-hosted Supabase. This scrubs the remaining Vercel footprint: Code (src/ now has zero Vercel references): - security page: "Hosted on Vercel" → self-hosted infrastructure - FleetCrown URL fleetcrown.vercel.app → fleetcrown.orangecat.ch (entity registry + external-publish allowlist; the dead vercel.app subdomain was also a re-registration risk in an allowlist) - webhook-secret error + cron/env comments point at the box, not Vercel - corrected stale "Vercel kills the function on response" comments (false on a persistent server) to accurate await-before-respond reasoning Security/config: - supabase/config.toml: dropped dead *.vercel.app auth redirect URLs - @vercel/mcp-adapter dependency removed (unused) Artifacts removed: - scripts/auth/vercel-login.js, scripts/preview-url.sh, scripts/dev/merge-env.js, scripts/monitoring/deployment-monitor.js, scripts/db/setup-env.js, mcp-servers/vercel-openapi.json, .vercel/ - setup_vercel_secrets MCP tool in mcp-servers/github-server.js - .gitignore Vercel section; env scripts stripped of vercel-login/token Docs + .claude rules/commands rewritten to the self-host deploy flow (scripts/deploy-selfhost.sh / .github/workflows/cd.yml; env at /opt/orangecat/app/.env). Historical/archive records left intact. Verified: tsc 0 errors, SELF_HOST=1 build green, cron unit tests pass. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
📊 Operations Documentation
🎯 Overview
Operational documentation for running and maintaining OrangeCat in production.
📚 Operations Guide
🚀 Deployment
- Deployment Guide - Production deployment
- Environment Setup - Environment config
- CI/CD Pipeline - Automated deployment
📊 Monitoring
- Application Monitoring - Performance monitoring
- Troubleshooting - Common issues
- Port Management - Development ports
🔧 Maintenance
- Regular Maintenance - Scheduled tasks
- Database Maintenance - DB optimization
- Backup & Recovery - Data protection
🚨 Emergency Procedures
- System Down: Check monitoring dashboard
- Performance Issues: Follow troubleshooting guide
- Security Incident: Execute incident response
- Data Loss: Initiate backup recovery
📈 Performance Targets
- Page Load: < 2 seconds
- API Response: < 200ms
- Uptime: 99.9%
- Error Rate: < 0.1%
📚 Related Documentation
- Security Guidelines - Security procedures
- Development Setup - Local environment
- Architecture - System design