-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
41 lines (34 loc) · 2.42 KB
/
.env.example
File metadata and controls
41 lines (34 loc) · 2.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# ============================================================================
# Accessible Math Reader — Environment Configuration
# ============================================================================
# Copy this file to .env and customise as needed.
#
# All variables are optional — sensible defaults are applied.
# ============================================================================
# ── Server ─────────────────────────────────────────────────────────────────
AMR_PORT=8000
AMR_MAX_REQUEST_SIZE=1048576
# ── Logging ────────────────────────────────────────────────────────────────
# Format: "json" for structured logs, "text" for human-readable
AMR_LOG_FORMAT=text
# Level: DEBUG, INFO, WARNING, ERROR
AMR_LOG_LEVEL=INFO
# ── Speech Engine ──────────────────────────────────────────────────────────
# Options: gtts (default, needs internet), espeak, pyttsx3, coqui
AMR_SPEECH_ENGINE=gtts
# ── Metrics (Prometheus) ──────────────────────────────────────────────────
# Set to "true" to enable the /metrics endpoint
AMR_METRICS=false
# ── Tracing (OpenTelemetry) ──────────────────────────────────────────────
AMR_TRACING=false
AMR_SERVICE_NAME=amr
# ── Authentication ────────────────────────────────────────────────────────
# Set to "true" to require X-API-Key header on API endpoints
AMR_ENABLE_AUTH=false
# Comma-separated list of valid API keys
AMR_API_KEYS=
# ── Rate Limiting ─────────────────────────────────────────────────────────
# Set to "true" to enable per-IP rate limiting on API endpoints
AMR_ENABLE_RATE_LIMIT=false
# Format: "<count>/<period>" where period is second/minute/hour/day
AMR_RATE_LIMIT=100/minute