How to deploy Danswer on your local machine
The most common source of issues is under-resourcing. Before beginning, check the system requirements here.
(Optional) configure Danswer
Bring up your docker engine and run:
api_server
may take some time (we download embedding models from HuggingFace to power the search). If you see
This site can’t be reached
in your browser despite all containers being up and running,
check the api_server
logs and make sure you see Application startup complete
.Killed
in the logs, you may need to increase the amount of memory given to Docker.
For recommendations, check the system requirements here.These commands are also used to redeploy if any .env variables are updated
Note: On the initial visit, Danswer will prompt for an OpenAI API key.
You can get an OpenAI API key at: https://platform.openai.com/account/api-keys
You can also replace OpenAI with a model provider of your choice, see here for more info
This quickstart guide will index a publicly accessible website as this requires no additional authorization setup
Navigate to the top right of Danswer’s home screen and select Admin Panel
In the Web Connector dashboard, pick any base URL to index.
add -v
at the end to additionally delete the volumes (containing users and indexed
documents)