- Docker configuration: - Multi-stage Dockerfiles for backend (Python 3.11) and frontend (Node 20) - Production docker-compose.yml with all services - Development docker-compose.dev.yml with hot-reload - Nginx reverse proxy: - SSL/TLS termination with modern cipher suites - Rate limiting and security headers - Caching and compression - Load balancing ready - Kubernetes manifests: - Deployment, Service, Ingress configurations - ConfigMap and Secrets - HPA for auto-scaling - PersistentVolumeClaims - Deployment scripts: - deploy.sh: Automated deployment with health checks - backup.sh: Automated backup with retention - health-check.sh: Service health monitoring - setup-ssl.sh: Let's Encrypt SSL automation - Monitoring: - Prometheus configuration - Grafana dashboards (optional) - Structured logging - Documentation: - DEPLOYMENT_GUIDE.md: Complete deployment instructions - Environment templates (.env.production) Ready for commercial deployment!
9 lines
266 B
Plaintext
9 lines
266 B
Plaintext
# Self-signed SSL certificate placeholder
|
|
# Replace with real certificates in production!
|
|
|
|
# Generate self-signed certificate:
|
|
# openssl req -x509 -nodes -days 365 -newkey rsa:2048 \
|
|
# -keyout privkey.pem \
|
|
# -out fullchain.pem \
|
|
# -subj "/CN=localhost"
|