14.4 Environment variables

Most settings live in application.ini or the CLI’s config.ini, but a few work via environment:

VariablePurpose
OWNSONA_TEST_DATABASE_URLJDBC URL for a separate test database. Gates the integration tests in sql/run_tests.sh; absent = skip.
OWNSONA_API_TOKENUsed by sql/smoke_test.sh when invoked from the shell.
OWNSONA_SERVERCLI override for server_url.
OWNSONA_TOKENCLI override for token.
OWNSONA_CONFIGCLI override for the config-file path.
OWNSONA_LLM_API_KEYCLI: API key for the teach LLM.
OWNSONA_LLM_MODELCLI: model name for the teach LLM.
OWNSONA_LLM_BASE_URLCLI: base URL for the teach chat-completion endpoint.
OWNSONA_SUBJECTCLI: how teach should refer to you in extracted facts.