Install in 15 minutes
One command on any Linux server with Docker. No Kubernetes, no Helm charts, no cloud marketplace lock-in.
Requirements#
| Component | Minimum | Recommended |
|---|---|---|
| OS | Ubuntu 22.04 / Debian 12 / RHEL 9 or compatible, 64-bit | Ubuntu 24.04 LTS |
| Docker | Engine 20.10+ with Compose v2 | Current stable |
| CPU | 2 cores | 4 cores |
| RAM | 4 GB | 8 GB (embeddings, OCR and image search are memory-hungry) |
| Disk | 20 GB free | 40 GB+ (images, database, documents, backups) |
| Network | Outbound HTTPS to ghcr.io (images), license.quantumitpartners.com, your data source APIs and your LLM provider. A corporate proxy is supported. | |
| Ports | 80 and 443 free — or put AES behind your own proxy with --ssl none. | |
| From us | Your .lic licence file and an image pull token. | |
| LLM | An API key for OpenAI, Azure OpenAI or Anthropic — or no key at all with the bundled local Ollama option. | |
Quick-start (one command)#
The installer checks the machine first and stops before changing anything if a requirement is missing, naming the fix for each one. Then it logs in to the image registry with your pull token, generates all secrets, writes the configuration and starts the stack.
# install.sh ships with your licence
sudo bash install.sh --token <PULL_TOKEN> --domain search.example.com --ssl lets_encrypt --email ops@example.com| Option | What it does |
|---|---|
| --domain <host> | Public hostname, e.g. search.example.com |
| --ssl <mode> | none (default) · self_signed · uploaded · lets_encrypt |
| --email <addr> | Contact for Let's Encrypt (with --ssl lets_encrypt) |
| --version <tag> | Image version to install (default: latest) |
| --local-llm | Also run Ollama for a local model — no external LLM API needed (downloads ~4 GB) |
What's in the box#
Everything lives under /opt/aes and runs as a Docker Compose project:
- ✓FastAPI (async Python API server)
- ✓Celery worker (crawling, indexing, embedding)
- ✓Celery Beat (scheduled tasks — delta sync, group sync, alerts, nightly backup)
- ✓PostgreSQL 16 + pgvector (documents, embeddings, ACLs)
- ✓Redis (cache, task queue, rate limiting, session revocation)
- ✓Nginx (HTTP/HTTPS front door, certificate renewal with Let's Encrypt)
- ✓Next.js frontend (React 18 + Tailwind)
- ✓Optional: Ollama for a fully local LLM (--local-llm)
All containers run as a non-root user. The Docker socket is never mounted into the application; container logs reach the Diagnostics page through a read-only proxy.
Day-2 operations: the aes command#
The installer puts an aes command on the server. It is the only tool an operator needs:
| Command | What it does |
|---|---|
| aes status | Version, container health, licence and worker state at a glance |
| aes doctor | Checks disk, memory, database, Redis, licence and backups; names the fix for each problem |
| aes backup / restore | Encrypted, verified database backups; restore drains the workers first and refuses a backup from a newer version |
| aes upgrade <version> | Backup → drain → pull → migrate → health gate → automatic rollback on failure |
| aes rollback | Return to the previous version after an upgrade, restoring the database only when the schema moved |
| aes logs / restart / end-sessions | Tail logs, restart services, sign everyone out before maintenance |
SSL / HTTPS#
cert.pem and key.pem into /opt/aes/ssl and restart nginx.Updates and backups#
sudo aes upgrade v1.2.3One command: it takes a verified backup, waits for running crawls to finish, pulls the new images, runs the database migrations and switches over only after the new version passes a health check. If anything fails it rolls back by itself.
Backups run every night: encrypted with a key generated at install time, verified to restore, with 7 daily and 4 weekly copies kept. Settings → Backup lists, verifies and restores them from the browser.
/opt/aes/config/backup.key somewhere safe. Without it, backups cannot be read — and never run docker compose down -v in production.Scale deployment#
For larger installations, AES supports an enterprise overlay that splits the single worker into dedicated containers for independent scaling:
- ✓Crawl worker — dedicated to data source crawling
- ✓Index worker — dedicated to text extraction + embedding
- ✓Default worker — handles alerts, notifications, and other tasks
Ready to install?
Request installer access and we'll send you the image pull token and your licence file within one business day.