Databases and search, checked 2026-09-07

Typesense: Docker configuration reference

Self-hosted typo-tolerant search engine built in C++, aimed at fast setup and predictable relevance tuning.

At a glance

Ports

Ports
PortWhat listensSource
8108HTTP listener for the API. Set with the api-port config option or the TYPESENSE_LISTEN_PORT environment variable.source for port 8108

Environment variables

Environment variables
VariableRequiredWhat it doesExampleSource
TYPESENSE_API_KEYYesAdmin API key. Required to start the server; there is no default and no way to run without one.a random stringsource for TYPESENSE_API_KEY
TYPESENSE_DATA_DIRYesDirectory where all index data is stored. Required at startup./datasource for TYPESENSE_DATA_DIR
TYPESENSE_LISTEN_PORTNoPort the API server listens on. Maps to the listen-port config key.8108source for TYPESENSE_LISTEN_PORT
TYPESENSE_ENABLE_CORSNoWhether cross-origin requests are allowed. Defaults to enabled, narrowed by TYPESENSE_CORS_DOMAINS.truesource for TYPESENSE_ENABLE_CORS

Volumes that must persist

Volumes
PathWhat is in itSource
/dataBacks TYPESENSE_DATA_DIR. All collections and their documents live here; losing it loses the whole index.source for /data

Behind a reverse proxy

Release timeline

Releases
VersionDateBreakingWhat changedSource
v30.22026-04-19NoFixes incorrect handling of numeric not-equals filters and a highlighting bug introduced in v30.1.source for release v30.2
v29.12026-04-19NoFixes scoped API key handling for embedded collection parameters in multi-search requests. Published the same day as v30.2, on the older 29.x line.source for release v29.1
v30.12026-01-29NoFixes an overflow in the search latency metric reported by the stats.json endpoint.source for release v30.1
v30.02026-01-27NoAdds result diversification with Maximum Marginal Relevance and API changes for synonyms, curation and analytics rules.source for release v30.0
v29.02025-06-30NoAdds natural language search, letting Typesense convert a plain-language query into a structured search using an LLM.source for release v29.0

If it is not coming up

Read from the upstream documentation, repository and container registry by Keita Emsden on 2026-09-07. Every row links the page it came from. Upstream changes without telling anyone, so check the source link before you rely on a value.

Other app references

All app references