Configuration Reference
Project Aurora uses a YAML-based configuration system with environment variable overrides. This page documents all available settings.
Configuration File Structure
# /etc/aurora/config.yaml
server:
listen: ":8080"
grpc_listen: ":9090"
read_timeout: 30s
write_timeout: 60s
max_header_bytes: 1048576
state:
backend: etcd # etcd | postgres | memory
endpoints:
- "localhost:2379"
prefix: "/aurora/"
auth:
provider: oauth2
oauth2:
issuer_url: "https://auth.example.com"
client_id: "aurora"
client_secret_env: "AURORA_OAUTH_SECRET"
telemetry:
metrics:
enabled: true
path: "/metrics"
tracing:
enabled: true
endpoint: "jaeger:4317"
sampler: 0.1
rate_limiting:
enabled: true
requests_per_second: 1000
burst: 2000
security:
tls:
enabled: true
cert_file: "/etc/aurora/certs/server.crt"
key_file: "/etc/aurora/certs/server.key"
cors:
allowed_origins: ["https://dashboard.example.com"]
allowed_methods: ["GET", "POST", "PUT", "DELETE"]
Environment Variable Overrides
| Variable | Default | Description |
|---|---|---|
AURORA_LOG_LEVEL | info | Log level: debug, info, warn, error |
AURORA_STATE_BACKEND | etcd | Persistence backend |
AURORA_LISTEN_ADDR | :8080 | HTTP listen address |
AURORA_GRPC_ADDR | :9090 | gRPC listen address |
AURORA_MAX_CONNECTIONS | 10000 | Max concurrent connections |
Hot Reload
Send SIGHUP to the process to reload the configuration without downtime:
kill -HUP $(pidof aurora-core)