Quick Start¶
Get the ai.doo suite running in under 10 minutes.
Prerequisites¶
Ensure you have Docker and Docker Compose installed:
See Hardware Requirements for GPU and system specs.
1. Start Ollama + Hub¶
Hub is the central management service. It handles user accounts, model management, and licensing. Start it first.
This creates the shared ollama_network Docker network that PIKA and VERA connect to.
Verify both services are running:
curl http://localhost:11434/api/tags # Ollama — should return JSON
curl http://localhost:2000/health # Hub — should return "ok"
2. Pull an AI Model¶
Pull at least one model. llama3.2:3b is a good default (~2 GB):
Or pull via the Hub UI at http://localhost:2000 → Models tab.
3. Set Up Hub¶
- Open http://localhost:2000 in your browser.
- On first visit, create your admin account (username + password).
- Note your admin credentials — you'll use them to log in to PIKA and VERA.
- (Optional) Create additional user accounts under the Users tab.
- (Optional) Activate a license key under Admin > License.
Generate an auth API key¶
PIKA and VERA authenticate users via Hub. They need an API key to communicate with Hub's internal auth endpoint.
Set HUB_AUTH_API_KEY in your Hub .env file (or Docker secret). Use a random value:
Add it to ollama/.env:
Restart Hub to pick up the new key:
You'll use this same key in PIKA and VERA's configuration.
4. Start PIKA (Document Q&A)¶
Edit .env and set these two variables (using the API key from step 3):
Start PIKA:
Verify:
Open http://localhost:8000 and log in with your Hub admin credentials.
5. Start VERA (OCR Validation)¶
Edit .env and set:
Start VERA:
Verify:
Open http://localhost:3000 and log in with your Hub credentials.
Note
VERA has 5 services (backend, frontend, worker, postgres, redis). First startup takes longer as images build. Use docker compose ps to check all services are healthy.
6. Verify Everything¶
Run all health checks:
curl http://localhost:11434/api/tags # Ollama
curl http://localhost:2000/health # Hub
curl http://localhost:8000/health # PIKA
curl http://localhost:4000/health # VERA backend
Default Ports¶
| Service | URL | Description |
|---|---|---|
| Ollama | http://localhost:11434 |
AI inference API |
| Hub | http://localhost:2000 |
Management UI |
| PIKA | http://localhost:8000 |
Document Q&A |
| VERA frontend | http://localhost:3000 |
OCR validation UI |
| VERA backend | http://localhost:4000 |
VERA API |
Troubleshooting¶
Hub won't start:
Check logs with docker compose logs hub. Common issues: missing python-multipart (fixed in v1.3.0), data directory permissions.
PIKA/VERA can't authenticate:
Verify HUB_BASE_URL and HUB_AUTH_API_KEY are set and match between Hub and the app. The API key must be identical.
Ollama unreachable from PIKA/VERA:
Ensure the services are on the ollama_network. Check with docker network inspect ollama_network.
VERA OCR not processing:
Check the Celery worker is running: docker compose ps — the worker service should show as healthy.
See Troubleshooting for more.