Files
orangecat/docs/devops/infrastructure.md
T
Your NameandClaude 2872828779 chore: version 0.1.1 deployment - fix configuration and dependencies
- Bump version to 0.1.1 for tracking
- Add webpack-bundle-optimizer script for Next.js config
- Simplify ESLint configuration to resolve missing dependencies
- Prepare for production deployment with proper version control

This deployment includes:
- Profile update fixes with banner_url support
- LN address validation
- Auth cookie fixes for profile updates
- Various documentation and testing improvements

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-13 09:30:45 +02:00

804 B

Infrastructure

Primary: Vercel (Next.js app + serverless API). Vercel config in vercel.json + next.config.js.

Optional Self-Hosted Stack (for on-prem / advanced monitoring)

  • Compose file: deployment/production/docker-compose.yml
  • Services: Traefik, web (Next.js standalone), Postgres, Redis, Prometheus, Loki, Promtail, Grafana, scheduled Postgres backups.
  • Monitoring configs: deployment/production/monitoring/ (Prometheus, Loki, Promtail, Grafana datasources).

Security

  • Traefik dashboard should not be public; restrict by network/VPN.
  • Postgres/Redis are bound to 127.0.0.1 and internal network only.
  • Pin versions for all infra images to avoid drift.

Backups

  • prodrigestivill/postgres-backup-local runs on a schedule with retention.
  • See runbook for restoration procedure.