> For the complete documentation index, see [llms.txt](https://docs.datarhei.com/core/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.datarhei.com/core/configuration/database.md).

# Database

Settings for the database of operational data, e.g. processes, metadata, persisted session summaries, and so on.

## Configuration

{% tabs %}
{% tab title="JSON" %}

```
{
   "db": {
      "dir": "./config"
   },
}
```

{% endtab %}

{% tab title="ENV" %}

```
CORE_DB_DIR="./config"
```

{% endtab %}
{% endtabs %}

### dir (string)

Directory for holding the operational data. The path is relative to where the binary is executed and the directory must exist.

The default value is `./config`
