feat: add generated configuration files and Kubernetes overlays

- Add generated TypeScript configuration exports for all environments
- Create development and production Kubernetes overlay directories
- Include environment-specific kustomization configurations
- Add namespace and resource definitions for proper K8s deployment
- Enable environment-specific configuration management
This commit is contained in:
William Valentin
2025-09-08 09:45:27 -07:00
parent f3936f23fe
commit 78f5bbd90f
6 changed files with 492 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
# Kubernetes configuration for production
# Generated automatically from unified configuration
# Generated on: 2025-09-08T16:25:25.055Z
APP_NAME=rxminder
APP_VERSION=1.0.0
NODE_ENV=production
APP_BASE_URL=rxminder.192.168.153.243.nip.io
PORT=5173
COUCHDB_URL=http://rxminder-couchdb-service:5984
COUCHDB_USER=admin
COUCHDB_PASSWORD=L7tfqHyg0T4sIYiWK
COUCHDB_DATABASE_NAME=meds_app
USE_MOCK_DB=false
KUBERNETES_NAMESPACE=rxminder-prod
INGRESS_HOST=rxminder.192.168.153.243.nip.io
INGRESS_CLASS=nginx
CERT_MANAGER_ISSUER=letsencrypt-prod
STORAGE_CLASS=longhorn
STORAGE_SIZE=1Gi
ENABLE_EMAIL_VERIFICATION=true
ENABLE_OAUTH=true
ENABLE_ADMIN_INTERFACE=true
ENABLE_MONITORING=false
ENABLE_METRICS=false
DEBUG_MODE=true
LOG_LEVEL=debug
LOG_FORMAT=json
CACHE_TTL=3600
REQUEST_TIMEOUT=30000
MAX_CONNECTIONS=200
ENABLE_CORS=true
CORS_ORIGIN=*
FRONTEND_REPLICAS=3
DATABASE_REPLICAS=1
FRONTEND_MEMORY_REQUEST=256Mi
FRONTEND_CPU_REQUEST=100m
FRONTEND_MEMORY_LIMIT=512Mi
FRONTEND_CPU_LIMIT=500m
DATABASE_MEMORY_REQUEST=512Mi
DATABASE_CPU_REQUEST=200m
DATABASE_MEMORY_LIMIT=1Gi
DATABASE_CPU_LIMIT=1000m