---
title: Configure build commands, ports and environment variables
description: Configure QuikDB build commands, start commands, ports and environment variables safely with quikdb.json and the dashboard.
---

[Skip to content](https://help.quikdb.com/help/configure-build-commands-ports-and-environment-variables#main-content)

English

Show submenu for translations

![QuikDB](https://help.quikdb.com/hs-fs/hubfs/quikdb-lockup@1600.png?width=220&height=64&name=quikdb-lockup@1600.png)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [Contact us](https://quikdb.com/contact)

[Contact us](https://quikdb.com/contact)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [QuikDB Help](https://help.quikdb.com/help?hsLang=en)
2. [Settings](https://help.quikdb.com/help/settings?hsLang=en)

October 6, 2026

# Configure build commands, ports and environment variables

## Control how QuikDB builds and starts an application without committing secrets.

Add an optional `quikdb.json` file to the repository root when automatic detection needs help:

```
{  "runtime": "nodejs",  "buildCommand": "npm install && npm run build",  "startCommand": "npm start",  "port": 3000}
```

QuikDB injects `PORT`; your application must listen on that value. Add environment variables from the deployment's **Environment** tab or import a `.env` file there. Do not commit production secrets to the repository. After changing an environment variable, redeploy the application so the new value is used.

- [quikdb.json configuration](https://docs.quikdb.com/compute/configuration)
- [Environment variables](https://docs.quikdb.com/compute/environment-variables)

- [Getting started](https://help.quikdb.com/help/getting-started?hsLang=en)
- [Troubleshooting](https://help.quikdb.com/help/troubleshooting?hsLang=en)
- [Settings](https://help.quikdb.com/help/settings?hsLang=en)
- [Support](https://help.quikdb.com/help/support?hsLang=en)

[![QuikDB](https://help.quikdb.com/hs-fs/hubfs/quikdb-lockup@1600.png?width=180&height=53&name=quikdb-lockup@1600.png "QuikDB")](https://quikdb.com)

<https://facebook.com/quikdb> <https://x.com/quikdb_online> <https://github.com/quikdb> <https://discord.gg/vRf7uWVeDk> [mailto:cs@quikdb.net](mailto:cs@quikdb.net)

Copyright © 2026, QuikDB Inc.