Skip to content

Configuration

The gateway is configured entirely via environment variables. The CLI reads its own config from ~/.sealstack/config.toml.

Core

VariableDefaultPurpose
SEALSTACK_BIND0.0.0.0:7070Listen address.
SEALSTACK_DATABASE_URLpostgres://sealstack:sealstack@localhost:5432/sealstackPostgres connection.
SEALSTACK_QDRANT_URLhttp://localhost:6334Qdrant gRPC. Empty ⇒ in-memory.
SEALSTACK_REDIS_URLunsetOptional Redis for sessions + ratelimit.
RUST_LOGinfoTracing filter.

Embedder selection

VariableDefaultPurpose
SEALSTACK_EMBEDDERstubstub, openai, or voyage.
SEALSTACK_EMBEDDER_MODELper-backend defaultModel id.
SEALSTACK_EMBEDDER_ENDPOINTvendor defaultOverride for proxies / self-hosted TEI.
SEALSTACK_EMBEDDER_DIMSmodel defaultOutput vector dims — must match schema’s.
OPENAI_API_KEYRequired for openai.
VOYAGE_API_KEYRequired for voyage.

Reranker selection

VariableDefaultPurpose
SEALSTACK_RERANKERidentityidentity or http.
SEALSTACK_RERANKER_URLRequired for http.
SEALSTACK_RERANKER_MODELrerank-defaultModel id echoed in request payload.
SEALSTACK_RERANKER_API_KEYOptional bearer auth.

Authentication (MCP routes)

VariableDefaultPurpose
SEALSTACK_AUTH_MODEdisableddisabled or hs256.
SEALSTACK_AUTH_HS256_SECRETRequired for hs256.
SEALSTACK_AUTH_ISSUERSCSV of accepted iss claims. Empty = any.
SEALSTACK_AUTH_AUDIENCESCSV of accepted aud claims. Empty = skip aud.

OAuth metadata

VariableDefaultPurpose
SEALSTACK_PUBLIC_URLhttp://localhost:7070Published as the “resource” URL.
SEALSTACK_OAUTH_ISSUERhttp://localhost:8080/realms/sealstackAdvertised authorization server URL.