lawsynth/services/gateway/config/development.yaml
caelum0x b011dce423 test+config: connector test suite + service config/docs (manifest files)
Connectors: 22 real pytest modules (186 pass / 7 optional-dep skips) exercising
every connector's dependency-free surface + missing-driver degradation; SSRF
guard verified; errors_connector.py as a thin re-export (no forked taxonomy).
Services: config/{dev,staging,prod,test,limits,logging}.yaml + docs/*.md for
api/gateway/scheduler/worker, mapped to the real config structs; gateway/scheduler
Dockerfiles + scheduler .env/README. All YAML validated.

Closes 66 manifest files (gap 175->109). No source behavior changed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-17 19:23:14 +03:00

31 lines
1.4 KiB
YAML

# Development profile for lawsynth-gateway.
#
# Fields map 1:1 to GatewaySettings (services/gateway/src/lawsynth_gateway/
# settings.py). The process reads these from environment variables at startup
# (GatewaySettings.from_environment); it does not parse this YAML. Values below
# reproduce the built-in defaults, so a developer sees the out-of-the-box
# admission behavior. api_prefix is a fixed default ("/v1") and is not read from
# the environment.
profile: development
# max_body_bytes -> LAWSYNTH_GATEWAY_MAX_BODY_BYTES; largest admitted body.
max_body_bytes: 67108864 # 64 MiB
# max_header_bytes -> LAWSYNTH_GATEWAY_MAX_HEADER_BYTES; total header block size.
max_header_bytes: 32768 # 32 KiB
# max_headers -> LAWSYNTH_GATEWAY_MAX_HEADERS; count of admitted headers.
max_headers: 64
# max_clients -> LAWSYNTH_GATEWAY_MAX_CLIENTS; bounded rate-limiter key-space.
max_clients: 10000
# requests_per_window -> LAWSYNTH_GATEWAY_REQUESTS_PER_WINDOW; sliding-window cap.
requests_per_window: 120
# rate_window_seconds -> LAWSYNTH_GATEWAY_RATE_WINDOW_SECONDS; window length.
rate_window_seconds: 60
# allowed_origins -> LAWSYNTH_GATEWAY_ALLOWED_ORIGINS (comma-separated, exact
# http(s) origins). Empty means no browser origin is permitted; CORS/preflight
# are rejected. Add the dev front-end origin here when testing from a browser.
allowed_origins: []
# Fixed default; the gateway only exposes this prefix (plus /healthz, /readyz).
api_prefix: /v1