Skip to main content

Applications (Application, Deployment)

In this page

Application fields

Key columns on Application:

FieldNotes
typeAppType enum (Laravel, WordPress, Express, …).
runtimeRuntimeKind (PHP, NODEJS, …) — drives worker adapter selection.
statusAppStatus (RUNNING, DEPLOYING, …).
deploySourceGIT, ZIP, MANUAL, TEMPLATE.
repositoryUrl, branch, buildCommand, startCommandOptional source/build metadata.
domain, sslConvenience / status fields; see also Domain model.
port, internalPortExposed vs internal ports in UI.
configJson? passed to adapters.

Deployments

Each create/deploy flow inserts Deployment rows (DeployStatus: IN_PROGRESS, SUCCESS, FAILED, …) with optional error, durationSec, actor email.

Install paths

API computes installPath as:

$(PANEL_APPS_ROOT || /var/www/deploy-dock-apps)/{serverId}/{slugified-name}

API

GET/POST /applications, GET /applications/:id, GET /applications/:id/deployments, POST /applications/:id/deploy, DELETE /applications/:id.

Queue vs inline behavior: Environment variables (PANEL_DISABLE_QUEUE).