Configuration file and start options
The keys of the config file and the options of the start command.
On this page
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. |
database : postgresql://user:password@localhost:5432/openplatform
pooling : 5Start options
| Option | What it does |
|---|---|
| A port number | Sets the port. The default is 8000. |
--release | Runs in release mode. Use it in production. |
node index.js 8080 --releaseDocker
The official image reads the connection string from the DATABASE variable. See Install with Docker.