---
layout: 'list'
uri: '/configuration'
position: 3
slug: 'configuration'
navTitle: '⚙️ Configuration'
title: 'Configuration'
description: 'All Documan environment variables, grouped by area — general server settings, semantic search, and the AI chat assistant.'
---

# Configuration

Documan is configured entirely through environment variables — set in your `.env` file, the
system environment, or a `Dockerfile` `ENV` directive. **Any change requires a server restart
to take effect.**

The settings are split across three pages by area:

- [General](/configuration/general) — project name, file globs, database path, HTTP port, AI discovery surfaces, and license key.
- [Semantic search](/configuration/semantic-search) — OpenAI embeddings for the `vectorize` command and semantic search at runtime.
- [AI chat](/configuration/ai-chat) — the optional Anthropic-powered "chat with your documentation" assistant.

1. [General](/configuration/general.md)
2. [Semantic search](/configuration/semantic-search.md)
3. [AI chat](/configuration/ai-chat.md)

---

[← Commands](/getting-started/commands.md) | [General →](/configuration/general.md)