Resourcing Overview

To host Onyx, we recommend:
ResourceMinimumPreferred
CPU4 vCPU8+ vCPU
RAM10 GB16+ GB
Disk50 GB + ~2.5x indexed data500 GB for organizations <5000 users
Vespa does not allow writes once disk usage hits 75%. Make sure to always have some storage headroom.
For more details, our Resourcing guide covers selecting Cloud instances, resourcing by container, and how to scale your Onyx deployment.

Onyx CLI

Onyx CLI is coming soon! Preview the CLI below.

Launch with Docker

Useful if you want to extend the Onyx codebase or if you need close control over the deployment process.
The standard method to launch Onyx is using Docker Compose.
1

Install Requirements

2

Clone the Onyx repo

git clone https://github.com/onyx-dot-app/onyx.git
3

Navigate to the compose files

cd onyx/deployment/docker_compose
4

Launch Onyx

To pull images from Docker Hub:
docker compose -f docker-compose.dev.yml -p onyx-stack up -d --pull always --force-recreate
To build images from source:
docker compose -f docker-compose.dev.yml -p onyx-stack up -d --build --force-recreate
5

Configure your Deployment

Configure your deployment using a .env file.
cd ~/onyx-dot-app/onyx/deployment/docker_compose
cp env.prod.template .env
You’ll need to restart Onyx after changing any .env variables.
docker compose -f docker-compose.dev.yml -p onyx-stack down
docker compose -f docker-compose.dev.yml -p onyx-stack up -d --pull always --force-recreate

Next Steps