Docker (REST API)
Use this path when you want the HTTP API only.
Build the image
From the repo root:
# Dev image (local source)
docker build -f packages/api/Dockerfile.dev -t nl2sql-api-dev .
# PyPI image (stable releases)
docker build -f packages/api/Dockerfile -t nl2sql-api .
Install adapters
You choose adapters at build time:
For dev images:
Run the API
To set environment selection:
Configuration
Mount or bake your config files into the container:
configs/datasources.yamlconfigs/llm.yamlconfigs/policies.jsonconfigs/secrets.yaml(optional)
See configuration/system.md for environment variables and defaults.