You can change how a dPanel application is built and run at any time, from one setting to the whole form, or delete it. Changes take effect from the next release.
Review the setup
Open the application and go to Settings. How this application is set up shows five blocks.
| Block | Shows |
|---|---|
| Repository | The repository, its language and framework. |
| Deployment | The build time limit and the description. |
| Build | The language runtime, the build steps, and the build-time environment variables. |
| Run | The service name, the port, the start command, and the runtime environment variables. |
| Release and processes | Release commands, commands run after the restart, extra processes, and the health check. |

Make a quick change
Each item with an Edit button opens a panel for just that part.
| Edit next to | Opens | Change |
|---|---|---|
| Deployment | Edit application | The build time limit and the description. |
| Language | Edit Setup Configuration | The language and its version. |
| Build steps, Environment variables (Build) | Edit Build Configuration | The build steps and build-time variables. |
| Start command, Environment variables (Run) | Edit Runtime Configuration | The start command and runtime variables. |
| Release and processes | Release and processes | See the next section. |
Press Save in the panel, or Cancel to close it; with unsaved changes, dPanel asks you to confirm first. The change applies from the next release, so release again with Build and release or Redeploy.
Variable values are hidden in these panels. Leave a hidden value as it is to keep it, or press Show values in Edit Runtime Configuration to see the runtime values. See Environment variables.
Release commands and processes
Release and processes controls what runs around every deployment. Every application has it, not only Laravel ones; one that never used it deploys exactly as before.
| Part | What it does |
|---|---|
| Release commands | Run once per deployment, after the build and before the restart, with the runtime variables. Use them for database migrations. If one fails, the version already running keeps serving. |
| After the restart | Run once the new version is up, for example php artisan reload so queue workers pick up the new code. |
| Processes | Extra processes next to the website, with the same code and variables: a service runs all the time (a queue worker), a schedule runs its command every minute (a scheduler). |
| Health check | After the restart, dPanel asks the app for a page, such as /up, from the server itself. Another answer than the expected status fails the deployment. |
Press Edit on the block to change them. The switch above the release commands turns them off without deleting them; an emptied part is removed. Like every setting, the change applies from the next release.
What stays fixed
Four settings are set when you create the application and cannot change: the Repository, the Work directory (the folder the application lives in on the server), the Port and the Service name. Servers keep the application in that folder and run it as that service, and load balancers send traffic to that port. The Edit application panel lists them under Fixed settings.
To use other values, create a new application, release it, point your load balancer at it, then delete the old one.
Change everything at once
Edit settings at the top of the application opens Update Application. It is the same five-step form you created the application with, filled in with the current values: server and modules, name, commands, port and environment. The port is read-only here; see What stays fixed.
- Press Edit settings.
- Walk through the steps and change what you need. On Environment, values are hidden; Show values shows them and Hide values hides them again. A hidden value you leave untouched keeps what is stored.
- On Preview, tick Run bootstrap playbooks if you changed modules or the server's dependencies need to be applied again.
- Press Save changes.

dPanel updates the application definition (the saved description of how to build and run it) and submits the playbook inputs for it.
Delete an application
First take the application off its servers, then delete it.
- Open the Deployments tab and switch to On servers.
- Press Delete on each release and confirm. dPanel stops the service and removes it from that server. Wait until the release shows as deleted.
- Open Settings. The Danger zone sits at the bottom.
- Press Delete this application.
- Confirm in the Delete application dialog.
You do not need Delete permanently on the releases first: deleting the application removes them too. While a release is still on a server, dPanel refuses to delete the application and tells you to delete its releases first.
Frequently asked questions
Do my changes apply straight away?
No. They apply from the next release. Press Build and release or Redeploy after saving.
Can I change an application's port?
No. The port, the service name, the work directory and the repository are fixed once the application exists. Create a new application with the new port instead. See What stays fixed.
When should I tick Run bootstrap playbooks?
When you added or changed modules, such as a new runtime version. dPanel then installs them on the server again before the next build.
Does deleting an application delete my repository or server?
No. Your Git repository and your server stay. Deleting a release stops its service on that server; deleting the application then removes the application, its builds and its release history from dPanel.
Can I delete an application from the terminal?
Yes. Delete each release with dnocs application detail deployment delete --id <app> --deployment-id <release>, which stops the service on its server, then run dnocs application delete --id <app>. Like the web UI, dnocs application delete refuses while a release is still on a server.