Skip to content

Add A Project

Projects are registered from local folders. PortBay records the launch command, port, hostname, HTTPS setting, optional services, and readiness probe in the registry.

PortBay projects listPortBay projects list

Supported Project Types

TypeTypical commandNotes
Nextpnpm devUsually binds to an HTTP port and uses an HTTP readiness probe.
Vitepnpm dev --host 127.0.0.1Make sure the dev server binds to the port PortBay routes.
PHPService-backedUses PHP-FPM and an optional document root such as public.
PythonFramework dev serverDetects Django, FastAPI, and Flask and runs their dev server on port 8000; bare scripts and research/LLM-eval projects run with no server. Provisions a .venv with uv (or the stdlib venv).
StaticNoneServed by Caddy where supported.
Nodenpm run devUse a concrete port and readiness policy.
CustomAny shell commandBest for frameworks PortBay does not infer yet.

Add From The App

  1. Click Add project.
  2. Pick or paste the project folder path.
  3. Confirm the detected type, hostname, and port.
  4. Add environment variables if the dev server needs them.
  5. Open the raw config step only when the generated registry record needs hand editing.
  6. Save, then start the project from its row action.

Add From The CLI

bash
portbay add ~/Projects/marketing-site \
  --id marketing-site \
  --name "Marketing Site" \
  --kind next \
  --port 3010 \
  --start-command "pnpm dev" \
  --hostname marketing-site.test

After Save

  • Start the project.
  • Open the browser action for the generated https://<hostname> URL.
  • Open logs if the row stays in starting, unhealthy, or crashed.
  • Stop the project before changing its port or launch command.
Was this helpful?
Feedback

PortBay is pre-MVP software. Use the docs as an operating guide, not a stability guarantee.