Files
bakery-ia/infrastructure/kubernetes/overlays/prod/prod-configmap.yaml

48 lines
1.4 KiB
YAML
Raw Normal View History

2025-11-06 11:04:50 +01:00
apiVersion: v1
kind: ConfigMap
metadata:
name: bakery-config
namespace: bakery-ia
data:
# Environment
ENVIRONMENT: "production"
DEBUG: "false"
LOG_LEVEL: "INFO"
# Profiling and Development Features (disabled in production)
PROFILING_ENABLED: "false"
MOCK_EXTERNAL_APIS: "false"
# Performance and Security
REQUEST_TIMEOUT: "30"
MAX_CONNECTIONS: "100"
2026-01-08 12:58:00 +01:00
# Monitoring - SigNoz (Unified Observability)
2025-11-06 11:04:50 +01:00
ENABLE_TRACING: "true"
ENABLE_METRICS: "true"
2026-01-08 12:58:00 +01:00
ENABLE_LOGS: "true"
# OpenTelemetry Configuration - Direct to SigNoz
2026-01-09 11:18:20 +01:00
# IMPORTANT: gRPC endpoints should NOT include http:// prefix
OTEL_EXPORTER_OTLP_ENDPOINT: "signoz-otel-collector.bakery-ia.svc.cluster.local:4317"
2026-01-08 12:58:00 +01:00
OTEL_EXPORTER_OTLP_PROTOCOL: "grpc"
OTEL_SERVICE_NAME: "bakery-ia"
OTEL_RESOURCE_ATTRIBUTES: "deployment.environment=production,cluster.name=bakery-ia-prod"
2026-01-09 06:57:18 +01:00
# SigNoz Endpoints (v0.106.0+ unified service)
2026-01-09 07:26:11 +01:00
SIGNOZ_ENDPOINT: "http://signoz.bakery-ia.svc.cluster.local:8080"
2026-01-09 06:57:18 +01:00
SIGNOZ_FRONTEND_URL: "https://monitoring.bakewise.ai"
SIGNOZ_ROOT_URL: "https://monitoring.bakewise.ai"
2025-11-06 11:04:50 +01:00
# Rate Limiting (stricter in production)
RATE_LIMIT_ENABLED: "true"
RATE_LIMIT_PER_MINUTE: "60"
2026-01-08 12:58:00 +01:00
# CORS Configuration for Production
CORS_ORIGINS: "https://bakewise.ai"
CORS_ALLOW_CREDENTIALS: "true"
# Frontend Configuration
VITE_API_URL: "/api"
VITE_ENVIRONMENT: "production"