Skip to content

Environment Variables

Aperio is configured through environment variables for simple containerized deployment.

Reference

VariableDefaultDescription
DATA_DIRdataDirectory for persistent data
CONFIG_FILE(none)Path to an optional TOML config file. If unset, missing, or malformed, safe defaults are used with only a warning to stderr

Example

sh
docker run \
  -e DATA_DIR=/data \
  -e CONFIG_FILE=/data/config.toml \
  -p 3000:3000 \
  ghcr.io/aperio-search/aperio

See the Configuration page for all available TOML settings.