# In-compose conproxy config: HTTP listen + Meilisearch via Compose DNS.
#
# - Listen on 0.0.0.0 so Docker port-mapping works.
# - Upstream URL uses the Compose service name `meilisearch` (NOT localhost).
# - Context-rooted (canonical): cache/scope/routing live on the context.
# - Tunables (fresh_secs, stale_secs, max_entries) match the README Quick Start.
[]
= "0.0.0.0:9999"
[]
= "http://meilisearch:7700"
= "meilisearch"
= "docs"
# Must match MEILI_MASTER_KEY in docker-compose.yml.
# Swap to "${MEILI_MASTER_KEY}" in production to read from env.
= "dev_master_key"
= 30
[]
= true
[[]]
= "meili"
[]
= 300 # 5 min fresh
= 600 # 10 min stale (serves while refreshing)
= 10000