# Application Configuration (K8s ConfigMap equivalent) # Non-sensitive configuration for admin application services # Server Configuration server: name: mvp-backend port: 3001 environment: production node_env: production # Database Configuration database: host: mvp-postgres port: 5432 name: motovaultpro user: postgres pool_size: 20 # password loaded from secrets/app/postgres-password.txt # Redis Configuration redis: host: mvp-redis port: 6379 db: 0 # Auth0 Configuration auth0: domain: motovaultpro.us.auth0.com audience: https://api.motovaultpro.com # client_id and client_secret loaded from secrets # google_maps_api_key loaded from secrets/app/google-maps-api-key.txt # Service Authentication service: name: mvp-backend # auth_token loaded from secrets/app/service-auth-token.txt # CORS Configuration cors: origins: - https://motovaultpro.com allow_credentials: true max_age: 86400 # Frontend Configuration (Vite build variables) frontend: api_base_url: /api auth0: domain: motovaultpro.us.auth0.com audience: https://api.motovaultpro.com # Health Check Configuration (K8s probe equivalent) health: endpoints: basic: /health # Basic health check ready: /health/ready # Readiness probe (K8s equivalent) live: /health/live # Liveness probe (K8s equivalent) startup: /health/startup # Startup probe (K8s equivalent) probes: startup: initial_delay: 30s period: 10s timeout: 5s failure_threshold: 6 readiness: period: 10s timeout: 5s failure_threshold: 3 liveness: period: 30s timeout: 10s failure_threshold: 3 # Logging Configuration logging: level: INFO format: json destinations: - console - file:/var/log/app/application.log # Performance Configuration performance: request_timeout: 30s max_request_size: 10MB compression_enabled: true circuit_breaker: enabled: true failure_threshold: 5 timeout: 30s