Install for a team
Run one installation for a team. Start with the local quickstart if you are evaluating alone.
What you deploy
Section titled “What you deploy”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.
| Service | Image | Replicas |
|---|---|---|
app | appsmithvivonk/ontlgy | 1 |
worker | appsmithvivonk/ontlgy | 1 |
postgres | postgres:16 | 1 |
neo4j | neo4j:5.24-community | 1 |
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.
Install with Docker Compose
Section titled “Install with Docker Compose”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.
git clone https://github.com/ontlgy/ontlgy-deployments.gitcd ontlgy-deployments/docker-composecp .env.example .envFill 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.)
chmod 600 .envdocker compose up -ddocker compose psThe 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.
Install on Kubernetes
Section titled “Install on Kubernetes”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):
git clone https://github.com/ontlgy/ontlgy-deployments.gitcd ontlgy-deploymentshelm install ontlgy helm/ontlgy \ --namespace ontlgy --create-namespace \ --set publicUrl=https://ontlgy.example.comOnly 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:
git clone https://github.com/ontlgy/ontlgy-deployments.gitcd ontlgy-deployments/kubernetes# edit ONTLGY_PUBLIC_URL in kustomization.yaml, then:bash create-secret.shkubectl 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.
Add HTTPS
Section titled “Add HTTPS”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(publicUrlin Helm). - Set
ONTLGY_TRUST_PROXY=true(trustProxy=truein 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:
docker compose up -d --force-recreate app workerOn Kubernetes, helm upgrade with the changed values (or kubectl apply -k . after editing the kustomization) rolls the app and worker.
Complete onboarding
Section titled “Complete onboarding”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.
Plan ongoing operation
Section titled “Plan ongoing operation”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.