khoj-ai / khoj

Your AI second brain. Get answers to your questions, whether they be online or in your own notes. Use online AI models (e.g gpt4) or private, local LLMs (e.g llama3). Self-host locally or use our cloud instance. Access from Obsidian, Emacs, Desktop app, Web or Whatsapp.
https://khoj.dev
GNU Affero General Public License v3.0
12.63k stars 640 forks source link

How to use with docker commands? #746

Closed alfi4000 closed 3 months ago

alfi4000 commented 4 months ago

How to use with docker commands?

command: --host="0.0.0.0" --port=42110 -vv --anonymous-mode
alfi4000 commented 4 months ago

i am also at setting up getting this error:
WARN[0000] /Users/dominickkruger/Downloads/khoj-master/docker-compose.yml: version is obsolete [+] Running 2/2 ✘ database Error Head "https://registry-1.docker.io/v2... 0.8s ✘ server Error context canceled 0.8s Error response from daemon: Head "https://registry-1.docker.io/v2/ankane/pgvector/manifests/latest": unauthorized: incorrect username or password

sabaimran commented 4 months ago

hey @alfi4000 ! You'll want to setup docker with logging into some account using your credentials. Check out these instructions.

Once that's done, you should be able to run docker compose up with the sample yml file to pull and run the containers with the above command. If you run into any other issues, please do include a screenshot or stack trace as well.

debanjum commented 3 months ago

Closing this issue as @sabaimran provided link to start Khoj with docker