Skip to content

Configuration reference

For the supplied Compose installation (the docker-compose/ directory of ontlgy-deployments), set values in .env beside docker-compose.yaml. The app and worker use the same installation secrets. Do not paste an expanded docker compose config into a ticket: it can contain credentials.

VariableDefault / requirementPurpose
POSTGRES_PASSWORDRequiredControl database password; generate letters/digits with openssl rand -hex 24
NEO4J_PASSWORDRequiredGraph database password; generate separately
ONTLGY_PUBLIC_URLRequired; example uses http://localhost:8080Address users and GitHub use to reach the app
ONTLGY_SECRET_KEYRequired; base64 for exactly 32 bytesEncrypts stored integration/provider credentials
ONTLGY_SESSION_SECRETRequired; at least 32 charactersSigns web form/session-related tokens
ONTLGY_IMAGE_TAGPinned sha- tag the deployment files were validated againstPublished appsmithvivonk/ontlgy image tag for the app and worker; see Docker Hub
ONTLGY_PORT8080Published host port; does not change the container’s port
ONTLGY_TRUST_PROXYfalseTrust forwarded client addresses behind a trusted reverse proxy
ONTLGY_TOOLSleanlean exposes 11 tools; full exposes 19
ONTLGY_SESSION_MEMORYfalseEnables capture from enrolled agents or workflows and private recall on images with session memory
GOOGLE_API_KEYOptionalApp credential for structured session-memory extraction. With no key, accepted turns stay queued and existing eligible packages can still be recalled.
GITHUB_API_URLhttps://api.github.comGitHub API base; override is primarily used in tests

Generate the application secrets independently:

Terminal window
openssl rand -base64 32

Keep .env protected and backed up securely. Changing the encryption key in place is not a supported credential-rotation procedure; existing encrypted credentials depend on it.

Compose reads .env when services are created. A simple restart does not necessarily apply a changed container environment.

Terminal window
docker compose up -d --force-recreate app worker

If you change the host port, update ONTLGY_PUBLIC_URL, the proxy target if applicable, and agent endpoints. Reload MCP clients after changing the tool profile.

On an app image that includes session memory, pass the optional settings to the app service. Use a local Compose override when your deployment file omits them.

services:
app:
environment:
ONTLGY_SESSION_MEMORY: "true"
GOOGLE_API_KEY: ${GOOGLE_API_KEY:-}

Set the provider key in your protected deployment environment. In Memories → Capture & activity, the owner can enroll a dedicated API key for an indexed repository and inspect the source’s receipts. Adapters submit bounded completed turns to POST /api/session-memory/events.

The Helm chart and the plain manifests use the same settings under different names. The credentials are generated for you into a Secret (Helm) or by create-secret.sh.

SettingHelm valuePlain manifests (kubernetes/kustomization.yaml)
ONTLGY_PUBLIC_URLpublicUrl (required)ONTLGY_PUBLIC_URL literal
ONTLGY_TRUST_PROXYtrustProxyONTLGY_TRUST_PROXY literal
ONTLGY_TOOLStoolProfileONTLGY_TOOLS literal
Image tagimage.tagimages[].newTag
Secretssecrets.*, or secrets.existingSecretontlgy-secrets Secret
Storage*.persistence.size and storageClassPVC sizes in the manifests

The chart can also use a Postgres or Neo4j you already run; see its values.yaml. Apply a changed value with helm upgrade or kubectl apply -k ., which rolls the app and worker.

These apply to processes launched directly from source. They are not all automatically forwarded by the supplied Compose file.

VariableDefault / requirement
POSTGRES_URIFull connection string, or use POSTGRES_PASSWORD with the fields below
POSTGRES_HOST / POSTGRES_USER / POSTGRES_DBlocalhost / postgres / postgres
NEO4J_URI / NEO4J_USERbolt://localhost:7687 / neo4j
PORTApp listen port, 8080
WORKSPACE_ROOTWorker clones directory, /data/clones
LOG_LEVELinfo
APP_HEALTH_URLWorker health dependency; supplied by Compose

Product installation uses the published image; running from source is only for developing ontlgy.

Configure GitHub, selected repositories, document sources, personal API keys, users and AI providers in the app. Provider keys do not belong in the documentation build or the static website’s environment.