How to customize your deployment environment.
disabled
)English,French
)info
)https://www.danswer.ai
).env
file. To do this, create a file called .env
at
danswer/deployment/docker_compose/.env
. From there, populate it with the values you want to override:
.env
file.
disabled
: No authentication is required.google_oauth
: Users can log in using their Google accounts.basic
: Standard username/password authentication.oidc
: OpenID Connect, available in the enterprise edition.saml
: Security Assertion Markup Language, available in the enterprise edition.true
, users must verify their email before accessing Danswer.
smtp.gmail.com
.
587
(TLS) or 465
(SSL).
openai
, anthropic
, huggingface
).
gpt-4
for OpenAI).
openai
, anthropic
, azure
).
true
to disable LLM-based filter extraction from queries.
true
to disable LLM-based filtering of document chunks.
true
to disable LLM-based selection of search method.
true
to disable LLM-based query rephrasing.
true
to disable all generative AI functionality.
true
to disable streaming responses when using LiteLLM.
true
to enable the global token budget system.
us-west-2
).
true
to enable query editing for keyword searches.
true
to enable multilingual query expansion.
relational_db
.
index
.
true
to enable normalization of embeddings.
true
to enable reranking in real-time search flow.
true
to enable reranking in asynchronous search flow.
inference_model_server
.
true
to opt out of telemetry. Telemetry helps improve Danswer; no sensitive data is collected.
debug
, info
, warning
, error
, critical
.
true
to enable logging of all prompts sent to the LLM.
true
to enable additional logging of Vespa query performance.
true
to enable logging of endpoint latency information.
llms
: a list of llm configurations
name
, provider
, api_key
, api_base
, api_version
, custom_config
, default_model_name
, fast_default_model_name
admin_user_emails
: a list of email addresses which, upon signing up, should automatically be assigned admin roles.seeded_name
: pre-set name for your company’s Danswer instance (e.g. “Acme’s Danswer”).seeded_logo_path
: pre-set path to your logo (as seen from the perspective of the backend
repository). This should point to a path within assets
(the folder within /backend
) (e.g. assets/logo.png
)export ENV_SEED_CONFIGURATION='{"admin_user_emails": ["email@gmail.com"], "seeded_name": "Acme Corp", "seeded_logo_path": "assets/logo.png"}'