---
title: Configuration file and start options
project: OpenPlatform
version: 5
section: reference
language: en
license: MIT
url: https://totaljs.es/docs/openplatform/5/reference/configuration-file/
updated: 2026-11-19T04:31:14.310Z
---

# Configuration file and start options

> The keys of the config file and the options of the start command.

The `config` file is in the root of the app.

## Keys

| Key | Default | What it does |
|---|---|---|
| `database` | None | The PostgreSQL connection string. Required. |
| `pooling` | `1` | The size of the database connection pool. |

```text
database : postgresql://user:password@localhost:5432/openplatform
pooling  : 5
```

## Start options

| Option | What it does |
|---|---|
| A port number | Sets the port. The default is `8000`. |
| `--release` | Runs in release mode. Use it in production. |

```bash
node index.js 8080 --release
```

## Docker

The official image reads the connection string from the `DATABASE` variable. See [Install with Docker](../../guides/install-docker/).
