apiVersion: v1 kind: ConfigMap metadata: name: unitforge-config labels: app: unitforge component: config data: # Application Information APP_NAME: "UnitForge" APP_VERSION: "1.0.0" APP_DESCRIPTION: "Create, validate, and manage systemd unit files" # Server Configuration HOST: "0.0.0.0" PORT: "8000" DEBUG: "false" ENVIRONMENT: "production" LOG_LEVEL: "info" RELOAD: "false" WORKERS: "2" # API Configuration DOCS_URL: "/api/docs" REDOC_URL: "/api/redoc" # CORS Configuration CORS_ORIGINS: "*" # File Upload Settings MAX_UPLOAD_SIZE: "2097152" ALLOWED_EXTENSIONS: "['.service', '.timer', '.socket', '.mount', '.target', '.path']" # Feature Flags ENABLE_API_METRICS: "false" ENABLE_REQUEST_LOGGING: "true" ENABLE_TEMPLATE_CACHING: "true" ENABLE_VALIDATION_CACHING: "true" # Performance Settings (optimized for Pi) REQUEST_TIMEOUT: "60" KEEPALIVE_TIMEOUT: "10" MAX_CONNECTIONS: "50" # Monitoring HEALTH_CHECK_ENABLED: "true" METRICS_ENABLED: "false" # Asset Optimization MINIFY_ASSETS: "true" COMPRESS_RESPONSES: "true" HOT_RELOAD: "false" SOURCE_MAPS: "false" # Documentation API_DOCS_ENABLED: "true" SWAGGER_UI_ENABLED: "true" REDOC_ENABLED: "true"