Skip to content

Document DEV_APP_PORT env var - #815

Open
AlexGaillard wants to merge 1 commit into
mainfrom
document-config-route-variable
Open

Document DEV_APP_PORT env var#815
AlexGaillard wants to merge 1 commit into
mainfrom
document-config-route-variable

Conversation

@AlexGaillard

Copy link
Copy Markdown
Member

What

Documents the new DEV_APP_PORT environment variable added in directus/directus#28112.

Where

Added a ### Development subsection to content/configuration/1.general.md, under the Server section.

Details

DEV_APP_PORT is a development-only variable that sets the port of the Data Studio Vite dev server when running Directus from source (NODE_ENV=development). It has no effect on production builds or deployed instances.

  • Default: 8080
  • When set, the dev server fails if the port is already in use (no auto-increment)
  • When unset, starts on 8080 and auto-increments to the next free port if taken
  • Invalid values fall back to 8080 with a warning
  • Separate from the API's PORT

The callout clarifies these behaviors so it is not confused with the runtime PORT.

@AlexGaillard
AlexGaillard requested a review from a team as a code owner August 25, 2026 18:25
@vercel

vercel Bot commented Aug 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview Aug 25, 2026 6:29pm

Request Review

@robluton robluton left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🎸

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants