Installer Script¶
The installer script automates the full ai.doo stack setup.
Usage¶
Or download and run manually:
What It Does¶
- Checks prerequisites — verifies Docker, Docker Compose, and curl are installed.
- Detects GPU — checks for NVIDIA GPU via
nvidia-smi. - Interactive prompts — asks which products to install, admin password, and domain names.
- Creates directory structure — sets up
~/aidoo/with configs and secrets. - Generates secrets — creates random passwords and API keys using
openssl rand. - Pulls images — downloads Docker images from GHCR.
- Starts the stack — launches services in order: Ollama, Hub, then PIKA/VERA.
- Health checks — verifies all services are running.
- Optional — offers to set up Caddy reverse proxy for TLS.
Options¶
| Flag | Description |
|---|---|
--no-gpu |
Skip GPU detection, use CPU mode |
--products pika,vera |
Skip product selection prompt |
--password <pass> |
Set admin password (skip interactive prompt) |
--domain example.com |
Set domain for reverse proxy |
--yes |
Accept all defaults (non-interactive) |
Non-interactive example¶
Directory Structure¶
After installation, your ~/aidoo/ directory will contain:
~/aidoo/
├── .env # Environment variables
├── docker-compose.yml # Stack definition
├── secrets/ # Docker secrets
│ ├── hub_admin_password
│ ├── hub_auth_api_key
│ └── hub_secret_key
└── data/ # Persistent data
├── ollama/ # Model storage
├── hub/ # Hub database
├── pika/ # PIKA documents + ChromaDB
└── vera/ # VERA uploads