🚀 Docker Production Optimizations: - Chiseled Ubuntu base image for minimal attack surface - Non-root user execution with security hardening - Read-only filesystem with targeted writable volumes - Resource limits (1GB RAM, 1 CPU) with health checks - Multi-stage builds optimized for caching - Zero-downtime deployment automation 🔍 Comprehensive Monitoring Stack: - Prometheus metrics collection with custom rules - Grafana dashboards for application visualization - AlertManager with email notifications for critical events - Fluentd centralized logging with retention policies - Node Exporter + cAdvisor for system/container metrics - Health check endpoint (/health) for container orchestration 📋 Production Deployment Ready: - Complete deployment scripts with backup strategy - Environment templates for secure configuration - Performance monitoring and alerting rules - Enterprise-grade security and observability 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
22 lines
693 B
Plaintext
22 lines
693 B
Plaintext
# Production Environment Configuration
|
|
# Copy this file to .env and fill in the actual values
|
|
|
|
# JWT Configuration
|
|
JWT_SECRET_KEY=your-super-secret-jwt-key-that-is-at-least-32-characters-long
|
|
|
|
# BTCPay Server Configuration
|
|
BTCPAY_SERVER_URL=https://your-btcpay-server.com
|
|
BTCPAY_STORE_ID=your-store-id
|
|
BTCPAY_API_KEY=your-api-key
|
|
BTCPAY_WEBHOOK_SECRET=your-webhook-secret
|
|
|
|
# Optional: Database Connection (defaults to SQLite in container)
|
|
# CONNECTION_STRING=Data Source=/app/data/littleshop.db
|
|
|
|
# Optional: Logging Configuration
|
|
# LOG_LEVEL=Information
|
|
# LOG_RETENTION_DAYS=30
|
|
|
|
# Optional: Application Configuration
|
|
# ASPNETCORE_ENVIRONMENT=Production
|
|
# ALLOWED_HOSTS=littleshop.silverlabs.uk |