Skip to content

Install for a team

Run one installation for a team. Start with the local quickstart if you are evaluating alone.

ontlgy publishes one image of its own, appsmithvivonk/ontlgy, for linux/amd64 and linux/arm64. The web app (UI, API, MCP endpoint, webhook receiver) and the background worker run from that same image with different commands. The installation also runs the official postgres:16 and neo4j:5.24-community images.

ServiceImageReplicas
appappsmithvivonk/ontlgy1
workerappsmithvivonk/ontlgy1
postgrespostgres:161
neo4jneo4j:5.24-community1

All deployment files live in the public ontlgy-deployments repository: Docker Compose, a Helm chart and plain Kubernetes manifests. You do not need ontlgy’s source code. Image tags are sha-<commit> (immutable) and latest; the deployment files pin the sha- tag they were validated against. List the available tags.

Use Docker Compose for one host. Use Kubernetes if your team already operates a cluster.

Prepare a host with Docker and Compose v2, enough memory and disk for the repositories you intend to index, and a hostname your users can reach. The initial documented baseline is about 4 GB free memory and 10 GB disk; it is not a capacity guarantee.

Terminal window
git clone https://github.com/ontlgy/ontlgy-deployments.git
cd ontlgy-deployments/docker-compose
cp .env.example .env

Fill every required value in .env. Generate each database password separately with openssl rand -hex 24; generate each application key separately with openssl rand -base64 32. Set ONTLGY_PUBLIC_URL to the intended public address. See the configuration reference. (bash install.sh does this step for you with fresh secrets; use it if you do not need to choose the values yourself.)

Terminal window
chmod 600 .env
docker compose up -d
docker compose ps

The app applies migrations at startup. The worker waits for app health in the supplied Compose setup. Postgres and Neo4j ports are not published to the host.

You need a cluster with a default storage class (or set one), kubectl, and for the first option Helm 3. The app and worker each run a single replica; the bundled Postgres and Neo4j are StatefulSets with persistent volumes. To use databases you already run, see the chart’s values.

Helm chart (recommended):

Terminal window
git clone https://github.com/ontlgy/ontlgy-deployments.git
cd ontlgy-deployments
helm install ontlgy helm/ontlgy \
--namespace ontlgy --create-namespace \
--set publicUrl=https://ontlgy.example.com

Only publicUrl is required. The chart generates the database passwords and application keys on first install, stores them in a Secret and keeps them across upgrades and uninstall. Set ingress.enabled=true and ingress.host to expose it, or test with kubectl -n ontlgy port-forward svc/ontlgy-app 8080:80 and publicUrl=http://localhost:8080. Keep your values in a file and pass it with -f on every upgrade.

Plain manifests with Kustomize:

Terminal window
git clone https://github.com/ontlgy/ontlgy-deployments.git
cd ontlgy-deployments/kubernetes
# edit ONTLGY_PUBLIC_URL in kustomization.yaml, then:
bash create-secret.sh
kubectl apply -k .

An optional Ingress is in kubernetes/optional/ingress.yaml. Check kubectl -n ontlgy get pods until every pod is ready; the first start pulls the images and migrates both databases.

The bundle serves plain HTTP on its web port, normally 8080 with Compose. Before sharing it beyond a trusted local evaluation environment, put your team’s reverse proxy, load balancer or Kubernetes ingress in front of it and terminate HTTPS there.

  • Forward requests to the app’s HTTP port.
  • Set ONTLGY_PUBLIC_URL=https://YOUR_INSTALLATION (publicUrl in Helm).
  • Set ONTLGY_TRUST_PROXY=true (trustProxy=true in Helm) only when a trusted proxy is in front of the app; prevent clients from bypassing that proxy.
  • Ensure the proxy supports the MCP endpoint’s HTTP traffic and your chosen request timeouts.

Recreate the app and worker after configuration changes:

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

On Kubernetes, helm upgrade with the changed values (or kubectl apply -k . after editing the kustomization) rolls the app and worker.

Create the first administrator, connect GitHub, select repositories and wait for indexing. Add members under Users and have each member create their own key under Connect your agent.

Test from the actual client machine, not just the server. For automatic indexing, GitHub must reach ONTLGY_PUBLIC_URL/webhook/github.

Keep the app, worker and both databases running. Establish backups and an upgrade procedure before the installation becomes a dependency for the team. Review shared access boundaries before selecting repositories or document spaces.