khoj-aio
jsonbored/khoj-aio:latest
https://hub.docker.com/r/jsonbored/khoj-aio
bridge
sh
false
https://github.com/JSONbored/khoj-aio/issues
https://github.com/JSONbored/khoj-aio
Khoj is a self-hosted AI second brain for chatting with your docs, the web, and local or hosted LLMs.
[b]All-In-One Unraid Edition[/b]
`khoj-aio` packages the Khoj server with an internally managed PostgreSQL database so beginners can get a clean first boot on Unraid without wiring a separate database container.
[b]Quick Install (Beginners)[/b]
1. Install the template and leave the default appdata paths in place.
2. Optionally set [code]KHOJ_ADMIN_EMAIL[/code], [code]KHOJ_ADMIN_PASSWORD[/code], and [code]KHOJ_DJANGO_SECRET_KEY[/code].
3. Leave [code]KHOJ_ANONYMOUS_MODE=true[/code] for the simplest private LAN-first install, then click Apply.
4. Wait for first boot to finish, open [code]http://SERVER_IP:42110[/code], and restart the container once after the initial setup so all settings are applied cleanly.
5. If you left the password or secret blank, the container generates secure values and saves them in your mapped config folder at [code]/root/.khoj/aio/generated.env[/code].
[b]Power Users (Advanced View)[/b]
- Advanced View exposes the practical upstream self-hosted environment surface plus AIO-specific controls.
- You can keep the bundled internal PostgreSQL default, or point Khoj at external PostgreSQL, search providers, code sandboxes, identity providers, upload storage, Twilio/Notion integrations, and OpenAI-compatible local or hosted LLM endpoints.
- Leave defaults in place for the easiest install. Only set the overrides you actually need.
[b]Important Notes[/b]
- This image intentionally keeps PostgreSQL bundled because that is the critical first-boot dependency for Khoj on Unraid. Search, sandbox, and provider integrations remain optional advanced add-ons.
- If you expose Khoj outside your LAN, set strong admin credentials, configure [code]KHOJ_DOMAIN[/code] and [code]KHOJ_ALLOWED_DOMAIN[/code] correctly, and strongly consider disabling anonymous mode.
- Upstream currently documents Google OAuth mainly against the prod [code]khoj-cloud[/code] image, so the Google auth variables below should be treated as expert-only and tested carefully in this standard self-host image flow.
### 2026-05-21
- Generated from CHANGELOG.md during release preparation. Do not edit manually.
- Keep PG14 runtime for existing internal volumes
AI Productivity Tools:Utilities
http://[IP]:[PORT:42110]
https://raw.githubusercontent.com/JSONbored/awesome-unraid/main/khoj-aio.xml
https://github.com/JSONbored/khoj-aio#readme
https://raw.githubusercontent.com/JSONbored/awesome-unraid/main/icons/khoj.png
ai second-brain notes documents rag knowledge-base search ollama anthropic gemini openai
For public internet exposure, do not leave anonymous mode enabled unless you intentionally accept that risk. Set strong admin credentials and configure [code]KHOJ_DOMAIN[/code] / [code]KHOJ_ALLOWED_DOMAIN[/code] before remote access.
https://raw.githubusercontent.com/JSONbored/awesome-unraid/main/screenshots/khoj-aio/01-home.png
https://raw.githubusercontent.com/JSONbored/awesome-unraid/main/screenshots/khoj-aio/02-chat.png
https://raw.githubusercontent.com/JSONbored/awesome-unraid/main/screenshots/khoj-aio/03-settings.png
Support JSONbored on GitHub Sponsors.
https://github.com/sponsors/JSONbored
bridge
42110
42110
tcp
42110
/mnt/user/appdata/khoj-aio/config
/mnt/user/appdata/khoj-aio/postgres
admin@khoj.local
true
/mnt/user/appdata/khoj-aio/models/huggingface
/mnt/user/appdata/khoj-aio/models/sentence-transformers
true
0.0.0.0
true
false
5432
postgres
postgres
false
false
true
false