---
title: Configuration file
project: Pluginable
version: 0.0.1
section: reference
language: en
license: MIT
url: https://totaljs.es/docs/pluginable/0-0-1/reference/configuration/
updated: 2026-11-19T07:46:16.797Z
---

# Configuration file

> The keys of the file config in the app folder.

The file `config` in the app folder holds the settings that Pluginable needs before it can reach the database. Each line is a key, a colon and a value. Restart Pluginable after you change it.

```text
$api        : /admin/
database    : postgresql://user:password@localhost:5432/pluginable
```

## Keys

| Key | Value |
|---|---|
| `database` | Connection string of the PostgreSQL database: `postgresql://user:password@host:port/database`. Required. |
| `$api` | Address of the admin and its API. Keep `/admin/`. |
| `$ip` | Network address to listen on. Use `127.0.0.1` behind a reverse proxy on the same server. By default Pluginable listens on every address. See [Run in production](../../guides/production/). |
| `token` | Access token for scripts and other servers. Not set by default. See [Call the API with a token](../../recipes/api-token/). |

## Settings stored in the database

The name of the app, TMS, the Total.js API token, the OpenPlatform tokens and the plugin settings are not in this file. You change them on the [Settings](../../guides/settings/) screen, and Pluginable keeps them in the table `cl_config`.

Keep `config` private: it holds the database password.
