Production optimization: Docker configuration and monitoring stack
🚀 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>
This commit is contained in:
@@ -16,12 +16,8 @@ using TeleBot;
|
||||
using TeleBot.Handlers;
|
||||
using TeleBot.Services;
|
||||
|
||||
<<<<<<< HEAD
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
=======
|
||||
var builder = Host.CreateApplicationBuilder(args);
|
||||
var BrandName = "Little Shop";
|
||||
>>>>>>> d343037bbd676063e5bd9724c2eebcc55261d533
|
||||
// Configuration
|
||||
builder.Configuration
|
||||
.SetBasePath(Directory.GetCurrentDirectory())
|
||||
|
||||
Reference in New Issue
Block a user