Runtime

Configuration

Load environment-aware YAML configuration without committing secrets.

Configuration files

A typical Gorix application can load a base YAML file and overlay environment-specific values.

app:
  name: user-service
  environment: development

server:
  host: 0.0.0.0
  port: 8080

framework:
  validate_structure: true

Environment variables

Secrets and deployment-specific values should come from environment variables or a secret manager. Never commit database passwords, signing keys, or cloud credentials.

export DATABASE_URL='postgres://...'
export APP_ENV='production'

Production profile

The production profile can disable expensive development checks while enabling stricter transport security, structured logging, and production observability.