# 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`
