Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Getting Started

What is DockPanel?

DockPanel is a free, self-hosted, Docker-native server management panel built in Rust. It lets you manage sites, databases, Docker apps, SSL certificates, backups, email, DNS, and security from a single web interface or CLI. It installs in under 60 seconds, the panel services themselves idle at about ~49MB of RAM (about ~109MB total with the bundled PostgreSQL), and it runs on x86_64 and ARM64 servers with no subscriptions or artificial limits.

System Requirements

RequirementMinimumRecommended
OSUbuntu 20.04+, Debian 11+, CentOS 9+, Rocky Linux 9+, AlmaLinux 9+, Fedora 39+Ubuntu 22.04 LTS
Architecturex86_64 or ARM64 (aarch64)x86_64
RAM512 MB1 GB+
Disk10 GB20 GB+
CPU1 core2 cores

Docker and Nginx are installed automatically if not already present.

On the RHEL family (CentOS, Rocky, AlmaLinux, Fedora) the panel, sites, PHP, SSL, Docker apps and the optional-service installers all work, and the installer configures firewalld and SELinux for you. Redis, Node.js, PowerDNS, the WAF, Cloudflare Tunnel, Composer, Fail2Ban and PHP extensions were each installed from the panel on Rocky 9.8. Two deliberate exceptions remain: the mail server still refuses on RPM (the packages resolve, but its configuration layout has not been driven there yet), and UFW refuses on any box already running firewalld — installing it would create a second rule set that nothing consults, so the panel opens ports through firewalld instead. Both say so plainly rather than failing obscurely.

Installation

Run a single command on a fresh VPS:

curl -sL https://dockpanel.dev/install.sh | sudo bash

The installer will:

  1. Detect your OS and package manager
  2. Install Docker, Nginx, PHP-FPM, Certbot, UFW, and Fail2Ban
  3. Clone the DockPanel repository to /opt/dockpanel
  4. Build and start the agent, API, and frontend services
  5. Configure Nginx as a reverse proxy on port 8443

On ARM64 servers with less than 2GB RAM, the installer automatically uses pre-built binaries instead of compiling from source.

To use pre-built binaries on any architecture (faster, no Rust toolchain needed):

INSTALL_FROM_RELEASE=1 curl -sL https://dockpanel.dev/install.sh | sudo bash

Or clone and run manually:

git clone https://github.com/ovexro/dockpanel.git /opt/dockpanel
cd /opt/dockpanel
sudo bash scripts/setup.sh

To install a specific release rather than the newest one, set DOCKPANEL_VERSION to a release tag. It selects both the source tree and the binaries, so the two cannot drift apart:

DOCKPANEL_VERSION=v2.34.2 curl -sL https://dockpanel.dev/install.sh | sudo bash

Before 2.35.0 this variable chose the source tree only and the binaries were always the newest release, so a pinned install ended up mismatched.

First Login

  1. Open your browser and go to https://YOUR_SERVER_IP:8443
  2. Your browser warns about the certificate — expected, and safe to continue. Without a domain there is no way to obtain a trusted certificate, so the installer generates a self-signed one rather than serving the account-creation form over plain HTTP
  3. You will see the account creation screen
  4. Enter your email and password to create the admin account
  5. You are signed in to the DockPanel dashboard

If you installed with PANEL_DOMAIN=your-domain.com, the panel is at https://your-domain.com on the standard HTTPS port with a trusted Let’s Encrypt certificate, and none of the above applies.

First Steps

After your first login, here is what to do next:

  • Create your first site – Go to Sites, click New Site, enter a domain, and choose a runtime (static, PHP, Node.js, or Python). DockPanel configures Nginx and provisions SSL automatically.
  • Deploy a Docker app – Go to Docker Apps, browse 147 one-click templates across 14 categories (AI, CMS, databases, media, monitoring, and more), and deploy one with a single click.
  • Enable 2FA – Go to Settings and enable TOTP two-factor authentication. Save the 10 recovery codes somewhere safe.
  • Set up backups – Go to Backups and create a backup schedule. Optionally configure an S3-compatible remote destination.
  • Run diagnostics – Check the Dashboard for your server health score, or run dockpanel diagnose from the terminal to identify any issues.

DNS Setup

To serve a site from your DockPanel server, point your domain’s DNS to the server.

  1. Log in to your domain registrar or DNS provider (Cloudflare, Namecheap, Route53, etc.)
  2. Create an A record pointing your domain to your server’s public IP address:
Type: A
Name: example.com (or @ for the root domain)
Value: 203.0.113.10  (your server's IP)
TTL: Auto (or 300)
  1. If you also want www.example.com, add another A record:
Type: A
Name: www
Value: 203.0.113.10
TTL: Auto
  1. Wait for DNS propagation (usually 1-5 minutes, up to 48 hours in rare cases)
  2. Create the site in DockPanel with the matching domain – SSL will be provisioned automatically via Let’s Encrypt

DockPanel also has built-in DNS management for Cloudflare and PowerDNS if you want to manage DNS records directly from the panel.

Configuration Reference

Environment Variables

API Server (dockpanel-api)

VariableRequiredDefaultDescription
DATABASE_URLYes—PostgreSQL connection string (e.g., postgresql://user:pass@host:5432/dbname)
JWT_SECRETYes—Secret for signing JWT tokens. Must be at least 32 characters. Generate with: openssl rand -hex 32
AGENT_TOKENYes—Shared secret for authenticating with the agent. Must match the agent’s token file.
AGENT_SOCKETNo/var/run/dockpanel/agent.sockPath to the agent’s Unix socket
LISTEN_ADDRNo0.0.0.0:3000Address and port the API listens on
DB_MAX_CONNECTIONSNo20Maximum PostgreSQL connection pool size
BASE_URLNohttps://panel.example.comPanel base URL (used for links in emails, webhooks)
CORS_ORIGINSNohttps://panel.example.comComma-separated list of allowed CORS origins
LOG_FORMATNotextSet to json for JSON structured logging
SECRETS_ENCRYPTION_KEYNoderived from JWT_SECRETDedicated key for encrypting stored credentials and Secrets Manager values. Requires v2.112.0 or later — see the warning below before setting it on an existing install.
RUST_LOGNoinfoLog level (error, warn, info, debug, trace)

SECRETS_ENCRYPTION_KEY — separating credential encryption from JWT_SECRET

By default the panel derives its credential-encryption key from JWT_SECRET. Setting SECRETS_ENCRYPTION_KEY gives credentials their own key, so rotating the JWT signing secret no longer touches encrypted data.

It governs two stores:

  • stored credentials — database passwords, SMTP passwords, DKIM private keys, Cloudflare API tokens, TOTP secrets, backup-destination secrets, the WHMCS API secret, BunnyCDN provider keys, GitHub deploy tokens, and the per-server agent tokens the panel dials its fleet with
  • the Secrets Manager vault, including the CMS admin password site creation writes there and any value marked for injection into a site’s environment

⚠ On v2.111.0 and earlier, setting this variable on an install that already holds data was silent, irreversible data loss, and it is worth stating plainly because nothing documented the variable at the time. Those versions swapped the key rather than adding it: the key the panel had actually encrypted with was left out of the decrypt chain entirely, credentials came back as base64 text that every remote service then rejected, and TOTP verification failed closed — locking out every account with 2FA enabled. If you run v2.111.0 or earlier, do not set this variable. Upgrade first.

From v2.112.0 the panel tries every key derivation a value could have been written under, so adding, changing or removing the variable is survivable and reversible: put the old value back and the data reads again.

Adding it to an existing install (v2.112.0+):

  1. Generate a key: openssl rand -hex 32
  2. Add SECRETS_ENCRYPTION_KEY=... to /etc/dockpanel/api.env and restart the API. Existing data keeps working — it is read through the previous derivation.
  3. Rewrite everything under the new key: POST /api/settings/credentials/reencrypt (admin only). The response reports, per store, how many values were examined, rewritten, already_current and unreadable. It is idempotent and safe to re-run.
  4. Confirm unreadable is 0 before you discard the old key. Any value the panel could not open is reported and left untouched rather than overwritten.

Changing or removing it follows the same shape — change the value, restart, re-run the re-encryption. Until step 3 completes the install is still relying on the previous key being derivable, so do not rotate JWT_SECRET in the same maintenance window.

Set it once, keep it backed up with your database, and treat losing it the same way you would treat losing the database: without it, or without JWT_SECRET, the encrypted values cannot be recovered.

Docker Compose (.env file in panel/)

VariableDescription
PANEL_DB_PASSWORDPostgreSQL password for the panel database
PANEL_JWT_SECRETJWT signing secret (passed to API container)
AGENT_TOKENAgent authentication token

Agent (dockpanel-agent)

The agent reads its configuration from files, not environment variables:

FileDescription
/etc/dockpanel/agent.tokenAuthentication token (auto-generated on first run)
/etc/dockpanel/ssl/SSL certificates and ACME account
Environment VariableDefaultDescription
RUST_LOGinfoLog level
LOG_FORMATtextSet to json for JSON structured logging

Directory Structure

PathPurpose
/etc/dockpanel/Configuration directory
/etc/dockpanel/agent.tokenAgent authentication token
/etc/dockpanel/api.envAPI environment file (systemd deployments)
/etc/dockpanel/ssl/SSL certificates per domain
/etc/dockpanel/ssl/acme-account.jsonLet’s Encrypt ACME account credentials
/var/run/dockpanel/agent.sockAgent Unix socket
/var/backups/dockpanel/Site backups (compressed tarballs)
/var/www/acme/ACME HTTP-01 challenge webroot
/var/www/{domain}/Site document roots

Ports

PortServiceConfigurable
8443Panel Nginx (default)PANEL_PORT env var in setup.sh
3000API (inside Docker)LISTEN_ADDR env var
3062API (Docker host mapping)docker-compose.yml
3063Frontend (Docker host mapping)docker-compose.yml
5432PostgreSQL (inside Docker)Internal only

Generating Secrets

# JWT secret (64 hex chars = 32 bytes)
openssl rand -hex 32

# Database password
openssl rand -hex 24

# Agent token
openssl rand -hex 16

Systemd Deployments

For non-Docker API deployments, create /etc/dockpanel/api.env:

DATABASE_URL=postgresql://user:password@127.0.0.1:5432/dockpanel
JWT_SECRET=your_64_char_hex_secret_here
AGENT_SOCKET=/var/run/dockpanel/agent.sock
AGENT_TOKEN=your_agent_token_here
LISTEN_ADDR=127.0.0.1:3080

Set permissions: chmod 600 /etc/dockpanel/api.env

Reference it in the systemd service:

[Service]
EnvironmentFile=/etc/dockpanel/api.env

What DockPanel checks before you commit

Some things have to be true before a feature can work — a domain has to resolve, a port has to be free, a backup has to have somewhere to go. DockPanel checks these for you and says so on the screen where it matters, rather than letting the action fail and leaving you to work out why.

This page is generated from the same source the product renders its messages from, so the wording below is the wording you will see.

How to read the three tiers

TierWhat it looks likeWhat it means
PassiveA line under a field, or text behind an (i)Context. Nothing is wrong.
WarningAn amber calloutIt probably won’t work, or it will leave a mess — but the choice is yours and the control stays usable.
BlockingA red callout, and the button is disabledIt will fail. The gate opens by itself once the condition is met.

A check DockPanel could not run never blocks anything and never accuses you of anything — it says so and gets out of the way.

DNS

Does this domain point at this server yet?

dns.points_here

An HTTP-01 certificate order sends the certificate authority to your domain to fetch a file from this server. If the domain resolves nowhere, the CA has nowhere to connect and the order fails — after the panel has already told you the site was created.

When it blocks, and when it only warns. Blocking when the domain resolves to nothing at all, because issuance cannot possibly succeed. Only a warning when it resolves somewhere else: a Cloudflare-proxied domain resolves to Cloudflare and is indistinguishable from a misconfigured one by address alone, and issuance through the proxy demonstrably works. Refusing it would block a setup we have evidence is fine.

Where you see it

  • The create-site form, as you type the domain (never blocks creation)
  • The SSL card on a site, where it gates the Let’s Encrypt button
  • POST /api/sites/{id}/ssl, which refuses with 412 for the same reason and in the same words
What DockPanel saysWhat to do
Not checkedEnter a domain — Once you enter a domain, DockPanel checks whether it already points here.Nothing.
Not checkedCouldn’t determine this server’s public address — DockPanel could not detect its own public IP, so it can’t check whether the domain points here. SSL issuance will still be attempted.Nothing, usually — the check is unavailable, not failing. If issuance then fails, confirm the server can reach the internet.
Blocksexample.com doesn’t resolve yet — No DNS record was found for example.com. Create the record below at whoever manages this domain’s DNS, then check again. New records usually appear within a few minutes.Create the A (or AAAA) record DockPanel shows, at whoever manages the domain’s DNS. The gate opens by itself once the record goes live.
OKexample.com points here — example.com resolves to this server (203.0.113.10).Nothing.
Warnsexample.com points somewhere else — example.com resolves to 198.51.100.7 rather than this server (203.0.113.10). If you use Cloudflare’s proxy (the orange cloud), this is expected and certificate issuance normally still works — Cloudflare passes the validation request through to this server. You can continue. Otherwise the domain is pointed at a different host. Update the record below and check again.If the domain is behind a proxy such as Cloudflare, nothing — issuance works through it. Otherwise point the record at this server.
Warnswww.example.com points somewhere else — www.example.com resolves to 198.51.100.7 rather than this server (203.0.113.10). If you use Cloudflare’s proxy (the orange cloud), this is expected and certificate issuance normally still works — Cloudflare passes the validation request through to this server. You can continue. Otherwise the domain is pointed at a different host. Update the record below and check again — note this is the record for www.example.com, not for example.com.Same as above, with one trap: edit the record for the subdomain itself. Pointing the apex somewhere new does not move a subdomain that has its own record.

Docker apps

Does every setting this app requires have a value?

apps.required_env

104 of the shipped templates declare at least one setting that is required and has no default — database passwords, signing keys, and so on. The agent resolves each setting as “the value you gave, otherwise the default”, and drops it entirely when the result is empty. The variable is not passed as blank; it is not passed at all. Postgres refuses to initialise, Grafana quietly keeps its built-in password, and you find out from container logs several minutes after the image pull finished.

When it blocks, and when it only warns. Blocking. The template’s own author declared the setting required, and the fix is to type into a field that is already on screen.

Where you see it

  • The Docker app deploy dialog, above the Deploy button
  • POST /api/apps/deploy, which refuses with 412 by calling this same check
What DockPanel saysWhat to do
OKRequired settings are filled in — Every setting this app needs has a value.Nothing.
BlocksPOSTGRES_PASSWORD needs a value — postgres needs a value for POSTGRES_PASSWORD (POSTGRES_PASSWORD). These are passwords or keys with no safe default — the container is started without them entirely, which usually means it refuses to start or comes up with no protection at all. Use Generate to have DockPanel pick a strong value.Press Generate beside the field. DockPanel picks a strong value so there is nothing to invent and nothing to remember.
BlocksMEILI_MASTER_KEY needs a value — meilisearch needs a value for MEILI_MASTER_KEY (MEILI_MASTER_KEY), Environment (MEILI_ENV). Without it the setting is not passed to the container at all, so the app starts misconfigured — usually failing minutes later, after the image has finished downloading.Fill in the marked fields before deploying.

Is the host port this app wants actually free?

apps.port_available

Two containers cannot publish on the same host port. The sites surface has refused colliding ports for years; apps never got the equivalent, so a collision surfaced as a Docker error after the image pull rather than before it.

When it blocks, and when it only warns. Blocking when something is known to hold the port, because the deploy will certainly fail. Unknown — never a refusal — when the server could not be asked.

Where you see it

  • The Docker app deploy dialog, above the Deploy button
  • POST /api/apps/deploy, which refuses with 412 by calling this same check
What DockPanel saysWhat to do
BlocksChoose a port — Pick the host port this app should be reachable on.Enter a port.
BlocksPort 5432 is already in use — Port 5432 is taken by the app pg-old. Two things cannot publish on the same host port, so this deploy would fail once the image finished downloading.Use the free port DockPanel suggests, or stop whatever holds this one.
BlocksPort 5432 is already in use — Something on this server is already listening on port 5432. It isn’t managed by DockPanel, so it may be another service you installed yourself. Pick a different port, or stop whatever is using this one.Pick a different port. ss -lntp | grep :{port} on the server names the process.
OKPort 5432 is free — Nothing is listening on port 5432.Nothing.
Not checkedCouldn’t check the port — DockPanel couldn’t ask this server whether port 5432 is free, so it will be attempted as-is.Nothing. This happens on a fleet member running an agent older than the port-check route; a check that cannot run must never turn into a refusal.

Is this app name already taken on this server?

apps.name_available

Container names are unique per host, and the deploy form pre-fills the name with the template id — so deploying a second Postgres collides by default.

When it blocks, and when it only warns. Blocking. Docker will refuse the name outright.

Where you see it

  • The Docker app deploy dialog, above the Deploy button
  • POST /api/apps/deploy, which refuses with 412 by calling this same check
What DockPanel saysWhat to do
Not checkedName this app — Give the app a name to continue.Enter a name.
BlocksAn app called postgres already exists — This server already runs an app named postgres. Container names have to be unique, so this deploy would be refused. Pick a different name.Use the name DockPanel suggests, or choose your own.
OKName is available — No other app is called postgres.Nothing.

Does this server have the memory this app is being given?

apps.resource_headroom

A container whose limit exceeds what the box can supply does not fail at deploy time. It fails later, under load, as an OOM kill — which is the worst possible moment to learn the number was never achievable.

When it blocks, and when it only warns. Warning, never blocking. Over-committing memory is ordinary practice, the kernel will page, and the operator may know what is about to be freed. What is not acceptable is finding out from an OOM kill.

Where you see it

  • The Docker app deploy dialog, above the Deploy button
What DockPanel saysWhat to do
Not checkedMemory not checked — No memory limit was set for this app, or this server’s memory couldn’t be read.Nothing.
WarnsThat’s more memory than this server has — This app is limited to 8192 MB, but the server only has 2048 MB in total (1100 MB currently free). The limit will be accepted, but the container can never reach it — and the server will start swapping first.Lower the limit, or resize the server. Nothing stops you deploying as-is.
WarnsLess free memory than this app is allowed — This app is allowed 1024 MB but only 700 MB of the server’s 2048 MB is free right now. It will still start; if it actually uses its full limit, the kernel will have to reclaim memory from something else.Usually nothing — over-committing memory is normal. Worth a second look if the box is already swapping.
OKEnough memory — 1100 MB free, 512 MB requested.Nothing.

Mail

Does this domain have a DKIM signing key?

mail.dkim_key

Without a key there is nothing to sign outgoing mail with and no DKIM record to publish. Adding a domain stores it even when key generation fails, so this state is reachable and would otherwise be invisible.

When it blocks, and when it only warns. Warning. Mail still flows; it is simply unsigned, and no control in the panel is gated on it.

Where you see it

  • The Mail domain’s DNS tab
  • GET /api/mail/domains/{id}/preflight
What DockPanel saysWhat to do
OKDKIM signing key is ready — Outgoing mail for example.com is signed.Nothing.
WarnsNo DKIM signing key — DKIM key generation failed when example.com was added, so outgoing mail isn’t signed and there is no DKIM record to publish. Check that the mail stack is installed, then remove and re-add the domain to retry.Confirm the mail server is installed, then remove and re-add the domain.

Are this domain’s mail records published, and do they point at this server?

mail.dns_published

Mail leaves the server whether or not these records exist — it just doesn’t arrive. Receiving servers use SPF, DKIM and DMARC to decide whether to believe a message came from your domain, and a domain missing them lands in spam folders with nothing anywhere saying so.

This check verifies correctness, not existence, which is the whole point of it: through v2.29.0 the older DNS check passed on any MX record at all (including a competitor’s), any string beginning v=spf1 (including one that forbids this server), and any DKIM record containing p= (including a stale key from a previous install). Run against gmail.com — a domain whose mail goes to Google and whose SPF does not authorise us at all — the old logic reported MX, SPF and DMARC all passing.

When it blocks, and when it only warns. Warning, never blocking, and this follows the rule rather than ducking it: nothing in the panel is gated on these records. There is no control to disable, so there is nothing to block.

Where you see it

  • The Mail domain’s DNS tab
  • GET /api/mail/domains/{id}/preflight
  • GET /api/mail/domains/{id}/dns-check, the long-standing Check DNS button, which now delegates here
What DockPanel saysWhat to do
Not checkedCouldn’t determine this server’s public address — DockPanel could not determine the public address of the server this domain is on, so it can’t tell you which records the domain needs.Nothing to do at the registrar. If the domain is on this server, confirm it can reach the internet; if it is on another server in the fleet, confirm that server’s agent is online — its address is recorded when the agent checks in.
Not checkedCouldn’t check DNS — DockPanel couldn’t run DNS lookups on this server, so it can’t verify these records. Create them if you haven’t already.Create the records shown. They are correct whether or not the lookup ran.
OKexample.com’s mail records are published — MX, SPF, DKIM and DMARC all resolve and point at this server. Mail from this domain can be authenticated.Nothing.
Warnsexample.com has no mail DNS records yet — 5 of 5 records for example.com are missing or point somewhere else: A example.com, MX example.com, TXT example.com. Until they are correct, receiving servers can’t verify that this server may send mail for example.com — messages are likely to be filed as spam or rejected. Create the records below at whoever manages this domain’s DNS; DockPanel re-checks automatically.Create every record shown. Each card says whether that record is published or missing, so you never have to re-do the ones already correct.
Warns2 mail record still missing for example.com — 2 of 5 records for example.com are missing or point somewhere else: TXT dockpanel._domainkey.example.com, TXT _dmarc.example.com. Until they are correct, receiving servers can’t verify that this server may send mail for example.com — messages are likely to be filed as spam or rejected. Create the records below at whoever manages this domain’s DNS; DockPanel re-checks automatically.Create the records marked missing. The published ones need no attention.

Backups

Does this backup policy send its backups anywhere off this server?

backups.destination_configured

A policy with no destination writes its archives to a directory on the same disk it is insuring. That protects against a bad deploy or a dropped table, and against nothing else: disk failure, a deleted instance, ransomware or a closed provider account take the backups with the data.

When it blocks, and when it only warns. Warning, not blocking — and this one is worth defending. Local-only backups are a legitimate choice for a box whose real protection is provider snapshots, and refusing to save the policy would be the panel overriding a decision that is not its to make. What is not legitimate is making that choice by accident and never being told.

Where you see it

  • Backup Manager → Overview
  • GET /api/backup-orchestrator/preflight
What DockPanel saysWhat to do
OKBackups are copied off this server — ‘Nightly’ uploads to wasabi-eu.Nothing.
WarnsThis policy’s backup destination no longer exists — ‘Nightly’ is set to upload to a destination that has since been deleted, so its backups are staying on this server. Pick a destination again, or create a new one.Choose a destination on the policy, or re-create the one that was removed.
WarnsBackups never leave this server — ‘Nightly’ writes its backups to this server’s own disk and nowhere else. You already have 2 destination(s) configured — choosing one means these backups survive losing this machine.Edit the policy and pick one of the destinations you have already configured.
WarnsBackups never leave this server — ‘Nightly’ writes its backups to this server’s own disk and nowhere else. That protects you from a bad deploy or a dropped table, but not from losing the server: disk failure, a deleted instance or a compromised host take the backups with the data. Add an S3 or SFTP destination and select it on this policy.Add an S3 or SFTP destination, then select it on the policy.

Is anything being backed up on a schedule at all?

backups.policy_configured

Prior to, and distinct from, the destination question — a panel with no enabled policy has nothing to send anywhere. Manual backups still work, but they only exist when somebody remembers.

When it blocks, and when it only warns. Warning when the server actually hosts something. A panel with no sites is not neglecting anything, so that reports as unknown rather than as a fault.

Where you see it

  • Backup Manager → Overview
  • GET /api/backup-orchestrator/preflight
What DockPanel saysWhat to do
Not checkedNothing to back up yet — Once you add a site or a database, DockPanel can back it up on a schedule.Nothing.
OKScheduled backups are running — 1 enabled backup policy/policies.Nothing.
WarnsNothing is being backed up on a schedule — This server hosts 3 site(s) and has no enabled backup policy, so nothing is backed up automatically. Manual backups still work, but they only exist when somebody remembers.Create a backup policy. “Protect Everything” configures sites, databases and volumes in one step.

Field help

The quiet tier. These are the explanations under the fields themselves; where a field has a check behind it, the same concern reappears as a callout when it stops being hypothetical.

Create your admin account

Password — At least 8 characters. This signs you in to the panel itself — not to any site you host with it.

This is the panel’s first account and a full administrator: it can reach every site, database and container on this server. There is no password-reset email configured yet, so store it somewhere you trust before continuing. You can add two-factor authentication straight afterwards from Settings.

Create a site

Domain — Your site’s public domain name (e.g. example.com). It needs to point at this server before HTTPS can be issued — DockPanel checks that for you below.

You can create the site before the domain resolves; only the certificate needs DNS. If you are moving a live site, create it here first, confirm it serves correctly, and change the DNS record last — that way the switchover has no gap.

Checked by dns.points_here.

Runtime

Static serves files as they are. PHP runs them through PHP-FPM. Node and Python get a managed systemd process with nginx in front. Reverse Proxy is the one to pick when something else already listens on a port — a Docker app, or a service you run yourself — and DockPanel then owns only the front end and the certificate.

Admin Password — Leave blank and DockPanel generates one, then stores it in this site’s Secrets vault — it is not shown again anywhere else.

Open the site, then Secrets, to read it back. Earlier versions generated this password, used it and discarded it, which left you unable to log in to the site you had just created.

Proxy Port — The local port your application listens on.

The port as seen from the server itself, not a public one. nginx connects to it on 127.0.0.1; nothing needs to be opened in the firewall.

Deploy a Docker app

Container Name — Names the container on this server. Must be unique — DockPanel suggests a free one if it isn’t.

The container is created as dockpanel-app-<name>, so this name is what you will see in docker ps minus that prefix.

Checked by apps.name_available.

Host Port — The port on this server the app will answer on. DockPanel checks it is free before the image is pulled.

Published on 127.0.0.1 by default. To expose the app publicly, put a Reverse Proxy site in front of it — that gets you a certificate and a domain instead of a port number.

Checked by apps.port_available.

Memory (MB) — Hard ceiling for this container. Leave blank for no limit.

A limit above what the server has is accepted but unreachable — the box swaps first. DockPanel warns rather than refuses, because over-committing is ordinary and you may know what is about to be freed.

Checked by apps.resource_headroom.

Backup policy

Destination — Where a copy is uploaded after each backup. Leave empty and backups stay on this server’s own disk.

A backup on the disk it protects covers a bad deploy or a dropped table, and nothing worse. Destinations are S3-compatible storage or any SFTP server. SFTP destinations that authenticate by PASSWORD need sshpass on the server the backup runs from: fresh installs and servers added through the agent installer get it automatically, but a panel upgraded in place does not, because update.sh upgrades binaries and installs no packages. When it is missing, Test Connection now says so in those words and Settings can install it onto that server for you — you are no longer asked to run a package manager by hand. Key-authenticated SFTP and every S3 destination are unaffected.

Checked by backups.destination_configured.

Mail domain → DNS

Required DNS Records

These are the records DockPanel publishes for you when it manages the zone, and the ones to create by hand when it doesn’t. Verify DNS checks that each points at this server rather than merely that something exists — a domain whose MX belongs to another provider is reported as such, not as a pass.

Checked by mail.dns_published.

How DockPanel Is Tested

Reflects v2.242.2. The version stamp, the template count and every assertion total on this page are checked against the source by tests/docs-claims-pin-e2e.sh, so this page cannot quietly fall behind the code it describes.

Most projects describe their testing as a list of things that pass. This page is mostly a list of things that failed — because that is the part that tells you whether the testing is real.

DockPanel is tested in three layers: unit tests and audits on every commit, regression pins that hold each past defect down, and — the layer this page is really about — behavioural drills on throwaway servers, where a journey is driven all the way to the point where a user would get value from it.

That last layer is the one that finds things. Every headline defect below was invisible to source review and invisible to a green test suite. Several of them had been broken on every install ever made.

The method

Before each release, and whenever install-time behaviour changes:

  1. Deploy a throwaway VPS — a real cloud server, stock distro image, nothing pre-installed. Not a container, not a VM on a developer’s laptop with its firewall down.
  2. Point a real subdomain at it and install with a domain, so the box gets a real Let’s Encrypt certificate through the same ACME path a user’s box takes.
  3. Drive the journey as a user would — through the panel’s own API and UI, not by calling internal functions.
  4. Drive it to the payoff step. Creating a mailbox is not the journey; reading mail is. Taking a backup is not the journey; getting your content back is. Starting a service is not the journey; a message arriving at somebody else’s server is.
  5. Fix, redeploy onto the same box, and reproduce the fix — before and after, same machine, same command.
  6. Destroy the box and delete the DNS records.

Step 4 is the whole method. Four consecutive audits found the same shape of defect: a feature whose setup half worked perfectly and whose payoff half had never once run. That base rate is itself the finding — so the working assumption now is that any vertical whose payoff step has never been driven is broken until proven otherwise.

What driving it has found

The mail server installer had never completed — v2.36.0

Two throwaway servers, two real domains, two real certificates, and a question nobody had asked of this product before: does a message actually travel?

POST /api/mail/install returned 500 on every install ever made:

{"error":"Failed to write opendkim.conf: Read-only file system (os error 30)"}

The agent runs under ProtectSystem=strict. Its ReadWritePaths list was not careless — it named /etc/postfix, /etc/dovecot, /var/spool/postfix, /var/vmail, /etc/dockpanel, every mail path the installer touches except the one that is not under a directory: /etc/opendkim.conf, a bare file at the top of /etc. The installer died at that line, so the DKIM key tables, the milter socket directory and the service enable never ran.

Three things hid it for as long as they did:

  • apt’s post-install scripts start Postfix, Dovecot and OpenDKIM anyway, so the box looked healthy.
  • The panel’s own mail_status asked only are the packages installed and the services up — which apt had made true for free — and reported installed: true, running: true on a box whose installer had just returned 500.
  • Postfix’s milter_default_action = accept means an unreachable milter is logged as a warning and the mail is delivered regardless. The failure was silent by design.

So no outgoing message had ever been DKIM-signed. The key was generated correctly, published as a real DKIM TXT record, and verified green by the panel’s own DNS check — which was deliberately strict, and correct. It answers “is the key published?” while the operator reads it as “is DKIM working?”, and the gap between those two questions is the entire signing path.

The proof, before and after, on the same box with the same command:

BEFORE  DKIM-Signature: (absent)     Authentication-Results: (absent)
AFTER   DKIM-Signature: v=1; a=rsa-sha256; d=…; s=dockpanel; …
        Authentication-Results: dkim=pass (2048-bit key)

And the receiving server’s spam filter — the product’s own Rspamd, judging the product’s own mail, live at delivery rather than on a re-scan:

BEFORE  [9.74/15] add header   HFILTER_HELO_5(3.00)  HFILTER_HOSTNAME_UNKNOWN(2.50)
                               MID_RHS_NOT_FQDN(0.50)  R_DKIM_NA(0.00)
AFTER   [1.59/15] no action    R_DKIM_ALLOW(-0.20)  R_SPF_ALLOW(-0.20)
                               DMARC_POLICY_ALLOW(-0.50)  MID_RHS_MATCH_FROM

The same drill found five more: the mail ports were never opened in the firewall (Postfix listening on :25 behind a UFW allowing only 22/80/443); Postfix’s HELO name was never set, costing six spam points before a byte of content was read; re-running the installer erased every hosted domain, mailbox and password — and since the install returned 500, re-running it was the ordinary thing to do; Dovecot demanded TLS but was never handed the Let’s Encrypt certificate the box already held, so webmail could never log in; and the panel’s own frame-ancestors 'none' applied to the webmail it installs.

Two defects in the fix survived review and were caught only by sending real mail again. One was visible at “does the service start?” — a systemd flag mismatch that timed the start out. The other was not: setting myhostname without narrowing mydestination made Postfix treat a hosted domain as local and bounce real mailboxes as “unknown user”, with the daemon perfectly healthy throughout. A fix verified only to the depth of “the process is running” has been verified to exactly the depth that produced the original bug.

The four distros installed, and still could not be reached — v2.38.0

v2.37.0 fixed the RPM install and proved it with /api/health answering on all four families. The next session drove the same install from a browser rather than from inside the box, and found it unusable — for two reasons, neither of which the previous check could see:

The installer printedDockPanel installed successfully! and Panel URL: https://…
What was trueno certificate, unreachable from any browser, 502 even from the box itself

Two firewalls, and the installer configured the one that was not enforcing. Rocky, AlmaLinux, CentOS Stream and Fedora all boot with firewalld running and only SSH allowed. setup.sh installed UFW from EPEL next to it, enabled it, and opened 80/443 in UFW. firewalld went on dropping both. Let’s Encrypt therefore could not fetch /.well-known/acme-challenge/, so there was no certificate either — and the failure hint blamed a Cloudflare proxy that was not in the path. Opening those two ports in firewalld, changing nothing else, made the box answer from the internet and let the installer’s own certbot command succeed on the next try.

SELinux blocked nginx from reaching the panel API. With SELinux Enforcing — the default on all four — httpd_can_network_connect is off, so nginx may not open a socket to 127.0.0.1:3080. Every request returned 502, including from the box itself. The denial is dontaudit-ed: nothing in the journal, nothing in ausearch. setsebool -P httpd_can_network_connect on, alone, turned 502 into 200.

That second one explains why the previous session read green. It measured 127.0.0.1:3080, which is the API directly — the path a browser takes, through nginx, was never on the evidence. A check can be honest, repeatable and still be measuring a different thing than the one the reader cares about.

The same session found the panel misreporting the box it was running on: is_installed() shelled out to dpkg, and there is no dpkg on an RPM system, so every package read as absent — the Services page offered to install PHP and Fail2Ban while both were installed and running. There were four hand-rolled copies of that function, which is how it stayed wrong in all of them. Firewall state had the same shape: the Security page ran ufw status, so a firewalled box reported no firewall at all.

Fixed in v2.38.0: the installer detects the firewall the box is already enforcing with and configures that one (never installing a second), sets the SELinux boolean up front, and update.sh repairs both on installs that already exist — necessary because a broken box cannot be fixed from a panel it cannot reach. Package and firewall queries moved behind one implementation each that dispatches on the real system. Optional-service installers that are still Debian-only now say so, with the remedy, instead of failing with Failed to find executable apt-get.

Verified on a fresh Rocky 9.8 box from the published release: 200 over a real Let’s Encrypt certificate from outside, ssl_verify_result=0, firewalld holding 80/443, no UFW installed, and the Services page reporting PHP and Fail2Ban as installed and running.

Four supported distros that could not install — v2.37.0

The README, the docs and the website all said DockPanel ran on CentOS 9+, Rocky 9+, Fedora 39+ and Amazon Linux 2023. The release smoke-test matrix contained Debian and Ubuntu images and nothing else. So the RPM half of the support claim rested on no evidence whatsoever — and when four throwaway boxes were finally used to check, all four failed to install, at three unrelated places:

DistroFailed atCause
Rocky 9.8Docker, step 3 of 15download.docker.com/linux/rocky/9/ exists and serves valid metadata, but upstream fills it with containerd.io and the plugins only. No docker-ce. The install died on Unable to find a match: docker-ce docker-ce-cli.
AlmaLinux 9.8Dockerget.docker.com has no almalinux branch at all — ERROR: Unsupported distribution 'almalinux' — even though the installer greets it by name with “Detected: AlmaLinux 9.8”.
CentOS Stream 9NginxThe step that comments out RHEL’s default server block used a sed range ending at the first }. Inside a server block that brace belongs to a nested location, so the block was half-commented and the remainder landed at http level: "location" directive is not allowed here in /etc/nginx/nginx.conf:52.
Fedora 43Systemd servicesThe agent unit listed /etc/apt in ReadWritePaths. That path does not exist on an RPM box, systemd refuses to build the mount namespace when any entry is missing, and the agent could not start at all.

The last one is the most instructive. /etc/apt was not a typo: setup.sh and update.sh each keep a hand-written list of directories to pre-create, both commented “pre-create everything the canonical unit lists”, and neither had /etc/apt — because on Debian and Ubuntu it already exists, so the omission was invisible on every box anyone had ever tested. Three lists kept in sync from memory, and the one entry that mattered was in none of the copies.

Fixed in v2.37.0 by pointing the RHEL rebuilds at Docker’s centos repository (the packages there are plain el$releasever builds), counting braces instead of guessing at the block end, and marking distro-specific sandbox paths optional with systemd’s - prefix so a missing directory can never again make the agent unstartable. Verified the same way it was found: the same five boxes, before and after, /api/health answering 2.36.0 on Rocky, AlmaLinux, CentOS Stream and Fedora where the installer had previously aborted.

Amazon Linux 2023 was removed from the support claim rather than fixed: get.docker.com has no amzn branch, and there is no image available to verify a fix against. AlmaLinux, which the installer had recognised all along without being able to install, took its place — and this time the claim has a box behind it.

Git deploy had never built — v2.35.0

Deploying a site from a real git repository failed 1.4 seconds in:

Build failed: docker build failed:
  ERROR: mkdir /root/.docker: read-only file system

The clone succeeded. The build had never run once, on any install. Three writes in the build path all landed outside the agent’s sandbox: docker build creating $HOME/.docker; the no-Dockerfile fallback installing itself into /usr/local/bin; and its cache pointing at a directory never in ReadWritePaths. The fallback could not rescue the primary path because it was broken by the same constraint.

Fixed in the shared command helpers rather than at the failing call site — there are ~77 docker invocations sharing those helpers, and patching one would have left 76 a regression away. The sandbox was not widened; /root and /usr/local/bin stay read-only. Before and after on one box: failed 1409ms → success 169162ms, container up, serving 200.

The same session found that update.sh’s agent health check probed an authenticated endpoint without credentials, so it printed Agent connectivity check failed on every update ever run, whether the agent was healthy or dead. A check that fails identically in both states carries no signal — it only teaches operators to ignore a warning that would matter if it ever became real.

A backup that did not bring your content back — v2.34.0

A site backup was tar czf over the document root and nothing else. Driven to the payoff step: a file marker and a published WordPress post were both deleted, then the backup restored. The file came back. The post did not — and the panel reported the restore as a success. The documentation claimed the database was included, twice, and printed a sample transcript of a restore step no code had ever performed.

Fixing it exposed a second defect that only driving the fix could reach. The first end-to-end restore still failed, because the restore path ran mysql inside a container running mariadb:11, which does not ship the mysql-named client. Restoring a MySQL or MariaDB database had never worked on any install — not from the Databases page, not from the orchestrator, not from a scheduled restore. The dump half was correct, and every sibling call site already used the right client; the restore path was the lone outlier.

After: databases_included: 1, and POST ROWS BACK: 1.

The mailbox nobody could open — v2.33.0

/etc/dovecot/users was written 0600 root:root. Dovecot’s auth worker drops to the dovecot user and cannot read it, so every IMAP, POP3 and submission login failed on every install — while the panel reported each account created successfully. The only evidence anywhere was in Dovecot’s own log.

The same box showed auto-sleep stopping a container that was serving 200s every 16 seconds — the next request got a 502 and nothing woke it — because nothing recorded visitor activity, only panel activity. And enabling auto-sleep on a default install did nothing at all: it is a step of the auto-healer, which is off by default and configured on a different page. The toggle stored the setting, answered {"ok": true}, and was never acted upon.

The update path — v2.35.0

The drills above only reach existing installs through update.sh, so that got driven too: a published older release installed on a clean box with a live WordPress site, then updated in place to current.

It works. 96 → 97 migrations, every row intact, both real certificates still serving, the panel never went dark, and the rollback safety net was neither needed nor triggered. The previous session’s backup fix was confirmed to arrive through the update — a backup taken after it reported databases_included: 1 while the pre-update row correctly stayed 0/0 — and a full restore drill on the upgraded box brought the deleted post back.

What is still broken

This section is the reason the rest of the page is worth reading.

  • The mail server still refuses to install on the RHEL family. Its packages resolve, but the configuration half — Dovecot’s layout, the OpenDKIM socket directory, /etc/dovecot/users ownership — has never been driven there, and a mail stack running with the wrong configuration reports itself healthy and delivers nothing. Refusing is the honest state until it is driven.

  • The remaining verticals above install are still apt-only evidence on the RPM family. Backups, git deploy, DNS and PHP pools have been driven end to end on Debian/Ubuntu only. Optional-service installation is no longer in this list: as of v2.40.0 Redis, Node.js, PowerDNS, the WAF, Cloudflare Tunnel, Composer, Fail2Ban and PHP extensions were each installed from the panel on Rocky 9.8.

  • The webmail message list can render empty. Login, delivery and IMAP all work, and the mailbox demonstrably holds mail, but a frame is navigated to the panel root where the stricter policy refuses it, and the resulting error aborts the list request before it is made. Not root-caused, so not fixed. Serving webmail on its own hostname avoids it; that is the likely durable fix.

  • HFILTER_HOSTNAME_UNKNOWN (2.50 spam points) survives the mail fixes. It is the absence of a reverse-DNS PTR record for the sending IP, which only the hosting provider can set. Documented in the email guide; a panel-side warning when the PTR is missing would be the real closure.

  • The mail vertical has not been re-driven against the published v2.36.0. The fixes were proven with a locally-built agent deployed onto the two boxes, which were then destroyed. A fresh install from the published release re-running the whole mail journey is the missing confirmation.

  • The CLI cannot include or restore databases. It authenticates to the agent, which cannot see the panel’s database records. v2.34.0 made it say so and refuse, rather than restore the files and report success. Giving the CLI its own panel API client is the real fix.

  • Multi-service app templates do not exist to test. A single-container template definition cannot express Supabase, Mastodon or PeerTube. That is a build item, not a coverage gap.

  • Amazon Linux 2023 is no longer claimed. get.docker.com has no amzn branch, so the installer cannot provision Docker there, and no image is available to us to verify a fix against. Withdrawing the claim was the honest option; building and verifying real support is the open item.

  • The RPM families are verified for install, not yet for the verticals. The four boxes were driven to a healthy panel — services up, /api/health answering — and destroyed. Mail, backups, git deploy and the rest have been driven on Debian and Ubuntu only, so anything package-manager-shaped in those paths is still unproven on RPM. That is now the largest known blind spot.

The coverage ledger

Journeys are recorded as driven so the next audit extends the map instead of repeating it. A journey that needs resources or an external account we did not have is marked not-driven rather than skipped quietly.

JourneyResult
Install without a domain, self-signed TLSpass
Install with a domain, real Let’s Encrypt certificatepass
BASE_URL written · :80→301→:443 · Secure cookie · TLS 1.0/1.1 refusedpass
First run: setup signs you in, the checklist is honestpass
WordPress site, then a real wp-admin login with the generated passwordpass
A site whose auto-SSL fails stays usable, and promotes itself when the cert landspass
Install from the published release on a second clean boxpass
Docker app from the template catalogue, over a panel-issued certificatepass — limits genuinely applied, not merely accepted
Mail: DKIM/SPF/DMARC published for real and verifiedpass
A real SMTP send/receive between two domains, DKIM verified on deliveryfound the installer had never completed
Install on each RPM family we claim to supportfound all four unable to install — fixed in v2.37.0
Reaching an RPM-family install from a browser, not from inside the boxfound it unreachable and 502 — fixed in v2.38.0
Optional-service installers (Redis, Node.js, PowerDNS, mail, WAF) on the RPM familynot supported yet — the panel now says so explicitly
Rspamd scoring live mail at deliverypass
Webmail loginfixed and driven; message list still open
Backup, and a restore that returns the site’s contentpass — after two sessions of fixes
A restore driven far enough to exercise the database clientfound MySQL restore had never worked
Git deploy from a real repository, to a container serving 200found the build had never run
Update from a published older tag to current, on a box with a live sitepass
A restore drill on an upgraded, not fresh, installpass
Auto-sleep on a Docker appfound it stopped a container that was serving users
Install on each RPM-family distro we claim to supportfound all four could not install at all — now pass on Rocky 9, AlmaLinux 9, CentOS Stream 9, Fedora 43
Install on the published minimum spec (512 MB RAM, 10 GB disk)pass — Debian 12, unmodified installer, both services healthy
A push-a-change → redeploy loopnot driven
Install on Amazon Linux 2023not driven — no image available to us, and the claim was withdrawn rather than left unverified

What runs on every commit and every release

The drills are the layer that finds new things. These are the layers that stop found things from coming back.

On every commit (ci.yml, codeql.yml):

  • 810 unit tests across the crates — 474 in the backend, 336 in the agent. (The CLI crate carries none of its own today.) Re-derive rather than trust this line: for c in agent backend cli; do (cd panel/$c && cargo test --release); done and sum the test result: lines. Nothing recomputes this figure on a push — unlike the regression-pin total below, which docs-claims-pin-e2e.sh re-reads from each suite — so it is exactly the kind of number that goes quietly stale, and it had: this line still read 294 when the count was measured for v2.48.0.

    And it went stale again, twice. It read 493 — 334 backend, 159 agent until v2.113.0, against a real 537, and then 701 — 437 backend, 264 agent until v2.222.0, against a real 810. The paragraph above correctly names the reason — nothing recomputes it — so the warning was not the missing part. Treat every figure on this page that no suite re-derives as suspect by default, and note that five unit tests are #[ignore]d and therefore excluded from the count above: they need a Docker daemon and are described under the drills.

  • cargo audit on all three crates, enforcing. A real advisory fails the build. One accepted, upstream-blocked item is ignored narrowly, in a committed config, with the reason written down.

  • A frontend audit gate that fails on anything high or critical and waives only advisories listed with a written reason — because one unwaivable advisory had kept the job red for six releases, and a job that is always failing cannot report a new failure.

  • TypeScript type-checking, release builds of every crate and the frontend, and CodeQL.

Regression pins. Each behavioural finding above leaves a pin suite behind that reads the source and fails if the fix is undone — including the shapes that are easy to undo by accident. The mail pins assert, among other things, that the sandbox was not widened to include /etc/opendkim.conf, since widening it would have “fixed” the bug while destroying the reason the bug was survivable. One-hundred-thirty-eight suites, 4552 assertions, all green at the current commit:

SuiteAssertions
sftp-accounts-pin-e2e.sh57
bandwidth-quota-pin-e2e.sh31
ai-diagnosis-pin-e2e.sh29
resource-mutation-audit-log-pin-e2e.sh47
carry-sweep-pin-e2e.sh89
ssl-controls-pin-e2e.sh137
db-import-pin-e2e.sh53
mail-smtp-dkim-pin-e2e.sh25
mail-auth-autosleep-pin-e2e.sh28
site-backup-databases-pin-e2e.sh52
git-deploy-sandbox-pin-e2e.sh42
git-deploy-volumes-pin-e2e.sh28
ssl-correctness-pin-e2e.sh97
dns01-renewal-pin-e2e.sh63
acme-account-identity-pin-e2e.sh20
nginx-listen-pin-e2e.sh17
rpm-install-pin-e2e.sh71
mail-rpm-pin-e2e.sh22
cpu-metric-pin-e2e.sh17
credentials-at-rest-pin-e2e.sh49
canary-arm-pin-e2e.sh20
notifications-pin-e2e.sh35
sandbox-paths-pin-e2e.sh94
webmail-spam-pin-e2e.sh18
registration-gates-pin-e2e.sh14
settings-controls-pin-e2e.sh19
auth-doors-pin-e2e.sh70
nginx-headers-pin-e2e.sh78
update-rollback-pin-e2e.sh52
agent-error-propagation-pin-e2e.sh20
backup-destinations-git-env-pin-e2e.sh37
agent-refusal-status-pin-e2e.sh34
agent-sandbox-paths-pin-e2e.sh11
backup-lands-pin-e2e.sh62
migration-analyze-async-pin-e2e.sh28
php-install-from-picker-pin-e2e.sh43
provision-log-ownership-pin-e2e.sh41
backup-truth-pin-e2e.sh54
scheme-and-import-pin-e2e.sh35
domain-claim-pin-e2e.sh60
mail-authorisation-pin-e2e.sh30
mail-client-view-pin-e2e.sh23
mail-sender-identity-pin-e2e.sh38
ownership-delete-pin-e2e.sh44
compose-stack-pin-e2e.sh56
container-identity-pin-e2e.sh45
unattended-host-scope-pin-e2e.sh118
status-page-gate-pin-e2e.sh52
site-transfer-visibility-pin-e2e.sh21
suspend-restore-pin-e2e.sh18
site-disabled-stays-offline-pin-e2e.sh19
terminal-scope-signed-pin-e2e.sh15
logs-scope-signed-pin-e2e.sh10
client-role-honesty-pin-e2e.sh28
wrong-host-dispatch-pin-e2e.sh23
db-credential-auth-pin-e2e.sh17
client-role-and-server-ownership-pin-e2e.sh99
agent-security-signals-pin-e2e.sh18
sibling-parity-pin-e2e.sh25
webhook-verification-pin-e2e.sh47
client-account-door-pin-e2e.sh32
twofa-recovery-pin-e2e.sh37
passkey-enrolment-proof-pin-e2e.sh27
passkey-ceremony-pin-e2e.sh34
auth-401-meaning-pin-e2e.sh21
upgrade-reach-pin-e2e.sh15
access-recovery-pin-e2e.sh67
whmcs-config-writable-pin-e2e.sh8
system-logs-scope-pin-e2e.sh15
pipefail-sigpipe-pin-e2e.sh9
expected-stop-pin-e2e.sh58
install-integrity-pin-e2e.sh58
apt-lock-wait-pin-e2e.sh8
ship-gate-pin-e2e.sh19
app-template-images-pin-e2e.sh20
app-volume-ownership-pin-e2e.sh38
theme-contrast-pin-e2e.sh27
db-schema-browser-pin-e2e.sh23
client-surface-gating-pin-e2e.sh38
alert-resolve-scope-pin-e2e.sh48
alert-controls-pin-e2e.sh54
lockdown-door-census-pin-e2e.sh23
app-data-persistence-pin-e2e.sh39
deploy-approval-reachable-pin-e2e.sh44
template-domain-env-pin-e2e.sh23
update-dead-image-pin-e2e.sh16
severed-controls-pin-e2e.sh33
honest-outcomes-pin-e2e.sh47
reachable-controls-pin-e2e.sh37
clearable-fields-pin-e2e.sh27
deploy-gate-coverage-pin-e2e.sh15
site-runtime-workdir-pin-e2e.sh10
port-scope-pin-e2e.sh30
published-docs-truth-pin-e2e.sh17
ssrf-url-guard-pin-e2e.sh12
upload-refusal-pin-e2e.sh23
rename-carries-backups-pin-e2e.sh42
monitors-honest-reads-pin-e2e.sh33
certificate-registry-pin-e2e.sh127
oauth-csrf-pin-e2e.sh17
rhel-site-creation-pin-e2e.sh27
graceful-shutdown-timeout-pin-e2e.sh7
scan-alert-resolve-pin-e2e.sh23
pdns-install-scope-pin-e2e.sh10
git-deploy-pre-build-rce-pin-e2e.sh35
chain-operator-bypass-pin-e2e.sh16
volume-backup-scope-leak-pin-e2e.sh9
notification-secrets-encryption-pin-e2e.sh32
webhook-secrets-encryption-pin-e2e.sh46
nginx-clone-env-backup-path-pin-e2e.sh12
registry-ollama-arg-validation-pin-e2e.sh16
env-mask-catalogue-secrets-pin-e2e.sh13
registry-pull-credentials-pin-e2e.sh7
update-connection-resilience-pin-e2e.sh7
admin-peer-account-protection-pin-e2e.sh20
backup-encryption-integrity-pin-e2e.sh18
cli-password-args-pin-e2e.sh18
secrets-mask-value-boundary-pin-e2e.sh10
escalation-user-route-scope-pin-e2e.sh13
git-clone-ssrf-pin-e2e.sh16
timeout-orphan-kill-on-drop-pin-e2e.sh36
security-firewalld-ssh-include-pin-e2e.sh24
database-icc-reconcile-and-file-download-pin-e2e.sh11
git-blind-chown-and-restore-ownership-pin-e2e.sh28
scanner-supply-chain-and-credential-perms-pin-e2e.sh20
cms-installer-hardening-pin-e2e.sh32
pkg-rs-and-clone-dedup-hardening-pin-e2e.sh27
rhel-updates-and-smtp-from-name-pin-e2e.sh18
cli-field-mismatch-pin-e2e.sh21
cli-io-crate-audit-pin-e2e.sh19
backend-hot-file-audit-pin-e2e.sh25
telemetry-oncall-db-audit-pin-e2e.sh13
drill-ws-backup-scope-pin-e2e.sh29
shutdown-drain-race-pin-e2e.sh22
api-key-auth-pin-e2e.sh17
container-ownership-pin-e2e.sh9
git-deploy-preview-status-pin-e2e.sh9
migration-url-fetch-pin-e2e.sh21

On a schedule, from outside (live-surfaces.yml, daily). Every layer above runs because something changed, which is exactly why none of them could catch the things that go wrong while nothing changes: a certificate approaching expiry, an install one-liner that quietly starts returning a web page instead of a script, a marketing site still serving the bundle it was built from three weeks ago, or a measurement nobody has retaken since it stopped being true.

That last one is not hypothetical. The panel’s own memory footprint was published as ~19 MB on three separate surfaces for four months, against a real reading of ~49 MB; the social card advertised a 10 MB binary for thirty-four releases; the security page named a release thirty-seven versions old. Each was eventually found by a person happening to read the page, which is not a mechanism.

So tests/live-surfaces-check.sh runs daily on a GitHub runner — deliberately not on the server that hosts the sites, since a check running there would fetch its own origin and never see the CDN in front of it. It asserts that:

  • the advertised install one-liner still returns a shell script, byte-identical to the one in this repository, rather than the single-page app’s fallback HTML;
  • both sites answer on certificates with more than a fortnight of life left;
  • the marketing site serves exactly what this commit builds — compared by hash, fetched from outside, because “committed”, “built” and “served” are three different things and any two of them agreeing has twice proved nothing here;
  • the published release’s binaries are still the size the register claims;
  • the one waived npm advisory is still unfixed inside its major version, which is the condition its waiver was written against;
  • and no measurement or competitor figure has gone longer than its budget without a human confirming it.

It is not in the assertion table above because it needs the network and the world, so its result is a statement about today rather than about this commit.

On every push, against a real database (ci.yml, job tier2-certpin). Almost everything above can be decided by reading source. Certificate pinning cannot: whether a server presenting the wrong certificate is actually refused is a property of a running panel, a running database, and a request that really gets made.

tests/tier2-certpin-e2e.sh drives it end to end. A first checkin captures a fingerprint; a second carrying the same one is accepted; a third carrying a different one is refused with a 403; a malformed one is refused with a 400 and leaves the stored pin untouched; an admin rotation clears the pin, is itself refused without a CSRF header, and is written to the activity log; and finally a pinned TLS dial is made to a port with nothing behind it — not to test the dial, which is expected to fail, but to prove the client can be constructed. That last arm exists because in v2.7.18 it could not: under rustls 0.23 a missing CryptoProvider panics while the TLS config is being built, so the panel answered 500 to a request it had not begun to process.

Fourteen assertions — and until s346 they ran nowhere at all. The suite was called tier2-pin-e2e.sh, which put it inside the *-pin-e2e.sh glob that the CI sweep and this page’s own census both walk. Being a live suite it could not pass there, so it was excluded by name from both — and those two exclusions were the whole of its CI story. It had never executed on any machine but its author’s, while on that machine the local “run all the pins” sweep quietly pointed it at the live panel database. It is now named for what it is, and has a job with a postgres service of its own.

It is not in the assertion table above for the same reason live-surfaces-check.sh is not: that table is re-run and re-counted by docs-claims-pin-e2e.sh on a runner with no database, and a suite that needs one reports nothing there. Publishing a row for it would have made the wrong job red. What keeps it honest instead is ship-gate-pin-e2e.sh §S4, which fails if any test file in this repository runs in no job and is not exempt by name with its reason.

On every release (release.yml, smoke-test.yml):

  • Static musl binaries for amd64 and arm64 — zero glibc dependency, so a distro’s libc version cannot break the loader.
  • SPDX SBOMs for all three crates, checksums.txt, and keyless Sigstore signatures (.sig + .pem per asset).
  • Post-publish smoke tests that download the published binaries and run them on Debian 11, 12 and 13, Ubuntu 20.04, 22.04 and 24.04, Rocky 9, AlmaLinux 9, CentOS Stream 9, Fedora 39 and 43, and Amazon Linux 2023, plus arm64 — asserting static linkage and no loader errors on each. These run after the release is created, so a green release page is not the all-clear; the smoke matrix is. Until v2.37.0 this matrix covered only the apt distros while the documentation promised six families, so docs-claims-pin-e2e.sh now fails the build if a family is named on any published surface and no image in the matrix tests it.
  • The release body is generated from CHANGELOG.md, and the release fails if the tag has no changelog entry.

Why this page exists

A panel that manages your sites, your mail and your backups is asking for a lot of trust, and the honest basis for that trust is not a feature list. It is whether the people building it drive the thing to the point where it either works or does not, and then say which.

Every defect on this page was found by DockPanel’s own maintainers, before a user reported it, by installing the software on a real server and using it. They are published here for the same reason they were fixed.

Databases

DockPanel runs each managed database in its own Docker container, deliberately isolated from everything else on the box. That isolation is the reason most questions about databases have surprising answers, so this guide leads with it.

The one thing to know first

A database owned by a Site is reachable from the server itself, and from nothing else. (A database owned by a Stack is different — see Databases owned by a Stack below.)

Two mechanisms put a site-owned database there, and they are both on purpose:

  • The container’s port is published on the host’s loopback address only, so nothing off-box can reach it.
  • The container sits on a bridge network with container-to-container traffic switched off, so nothing in another container can reach it either.

The practical consequence catches almost everyone once: a database GUI running in its own container cannot connect to a site-owned managed database. Not with the internal host, not with 127.0.0.1, not with any value you can type. Inside that GUI’s container, 127.0.0.1 is the GUI itself.

This is not a misconfiguration and it is not something to work around lightly. It is what stops a compromised container from reaching another tenant’s data — every site-owned database container shares this one bridge, so keeping it ICC-off is what keeps them from reaching each other too.

Engines

EngineImageShown in the panel as
PostgreSQLpostgres:16PostgreSQL 16
MariaDBmariadb:11MariaDB 11
MySQLmariadb:11—

Choosing MySQL gives you MariaDB. They are wire-compatible for ordinary application use, but if you depend on a MySQL-specific feature, know that you are talking to MariaDB.

Redis and MongoDB are not managed database engines. They exist only as one-click app templates, which means none of this guide applies to them — no managed credentials, no SQL browser, no automatic cleanup.

Reading the credentials panel

Open Databases, pick a database, and open its credentials. Six fields, and two of them mean less than they look like they mean.

  • Host — always 127.0.0.1. Works from a shell on the machine running the database container. Not from another container, not from off-box.
  • Port — the host-published port, allocated per database. It is not the in-container port, so it is not 3306 or 5432. MariaDB and MySQL databases are allocated from 3307 upward and PostgreSQL from 5433 upward.
  • Database and Username — both are the database’s name.
  • Password — masked on screen, copied in clear text by the copy button, and also embedded in the connection string shown above the fields. Treat that connection string as a secret.
  • Internal Host — dockpanel-db-<name>, which is the Docker container’s name. Use it with docker exec, docker logs, or the DockPanel CLI. It is not a hostname you can connect to from anywhere.

Connecting to a database

From a site on the same server — use 127.0.0.1 and the published port. This is the supported path and the one the WordPress installer uses. A site’s PHP, Node or Python process runs on the host, not in a container, so the loopback publish is reachable to it.

From your own machine — there is no direct route, by design. Tunnel over SSH:

ssh -L 5433:127.0.0.1:<port> root@your-server
# then point your local client at 127.0.0.1:5433

From a container — not possible for a site-owned managed database. If you need a containerised tool to reach one, either run a plain database container inside the same compose stack as the tool (services in one stack share a network and resolve each other by service name), or provision a Stack-owned managed database instead — see below, which gives you the panel’s own credentials, backups and SQL browser while staying reachable by name from that stack’s own containers.

Adminer, phpMyAdmin, and the other GUI templates

The app catalogue includes database GUIs. They work against a Stack-owned managed database (see below) if deployed into the same stack, or against a plain database container you run in your own stack. They do not work against a site-owned managed database, for the reasons at the top of this guide — pointing one at a site-owned database will fail no matter what you type.

Databases owned by a Stack

A database can also be provisioned against a Docker Stack instead of a Site — for a containerised app that needs a real, panel-managed database (credentials, backups, the SQL browser) without a site to attach it to. Pick “Owned by a Stack” on the Create Database form.

This is deliberately not available for a bare, single-container Docker App — only for a Stack (a multi-container compose deployment). Docker Apps have no database row of their own in the panel at all; extending that would be a bigger change than provisioning a database for something that already does.

Stacks are admin-only, so this option only appears for an administrator, and only once at least one stack exists to pick from.

The container joins that stack’s own private network — the same one its other services already use to resolve each other by name — instead of the shared, inter-container-communication-disabled bridge a site-owned database uses. That means, unlike a site-owned database, a Stack-owned database IS reachable by name from the stack’s own containers: point your app at the database’s name (shown as Internal Host in its credentials panel) and the port it listens on inside the container (5432 for PostgreSQL, 3306 for MariaDB/MySQL) — no extra networking to configure. It is not reachable from outside that stack, the same way a site-owned database is not reachable from outside the host.

Everything else works identically to a site-owned database: the SQL browser, credential reset, backups, and Import. Deleting the stack deletes its databases along with it — the panel tears down the database container as part of removing the stack, the same as it does the stack’s other containers.

The built-in SQL browser

Databases → your database gives you a table browser, a schema view and a query runner. It reaches the database by running the client inside the database container, which is why it works when a networked client would not.

Its limits are real and worth knowing before you rely on it:

LimitValueWhat happens when you hit it
Rows returned1000Result is truncated and labelled as truncated
Query time15 secondsQuery is cancelled
Output size5 MBQuery fails — it does not truncate
Query length10 KBRejected before running
PagingnoneTable browsing is a fixed first 100 rows

The output cap is the one that surprises people: a wide SELECT * can fail outright rather than returning the first 1000 rows. Select the columns you need.

The query runner is not read-only. You are connected as the database’s owner, so UPDATE, DELETE and DROP all execute. There is no confirmation step.

Access is by ownership, not by role: whoever owns the site (or, for a Stack-owned database, the stack) owns its databases. An administrator who does not own the site does not get access to its SQL browser through this route — Stack ownership is moot here in practice, since only an administrator can own a stack in the first place.

Backups

Managed databases are included in the backup system, and a database can be backed up on its own from Backup Manager. Restoring replaces the database’s contents.

Importing a dump you already have

Databases → Import loads a .sql.gz you put on the server yourself. It replaces data in the target database, so it asks before it runs.

It is administrator-only, and that is a security boundary rather than a policy preference. The dump directory is named after the database, and a database name can be reused: deleting a database removes its container but not its dumps, so a directory can outlive the database that filled it. Restricting the door to administrators means a tenant who creates a database with a previously-used name cannot read what the previous holder left behind. It costs nothing in practice — placing a file in that directory needs root on the server, and an administrator can already read /var/backups directly.

The panel does not accept the dump through the browser, and that is deliberate rather than an omission. An upload travels base64-encoded inside a JSON request body capped at 2 MiB, which works out to about 1.5 MB of file — see Getting files onto a site. Almost no real dump fits inside that, so the panel uses the same shape the Migration wizard has always used: you place the file, the panel takes its name.

Copy it into the database’s own backup directory, over SSH, as root:

mkdir -p /var/backups/dockpanel/databases/mydb
scp mydb.sql.gz root@server:/var/backups/dockpanel/databases/mydb/
chmod 600 /var/backups/dockpanel/databases/mydb/mydb.sql.gz

Then open Databases → Import and pick it from the list.

A few things that are easy to get wrong, and what the panel does about each:

  • The directory may not exist yet. It is created the first time a database is backed up, so for a database that has never been backed up you have to mkdir -p it. It is root-owned and re-tightened to 0700 every time the agent starts, so a file placed there by a non-root account will not be readable.
  • /tmp will not work. The agent runs with a private /tmp and cannot see the host’s — the same constraint the Migration wizard documents.
  • The dump must be gzipped. A SQL database imports .sql.gz and nothing else, because the restore path streams the file through gunzip straight into the database container. A plain .sql is listed anyway, greyed out, with the exact gzip command that fixes it — it is not silently ignored, which is what used to happen.
  • Encrypted panel backups are not imported here. A .enc file in that directory is one the panel took and encrypted with a key derived from its own secret, so Backup Manager is the door that can restore it. Import lists them and says so rather than offering a button that could only fail.
  • .archive.gz is MongoDB’s format. On a PostgreSQL or MariaDB database it is listed but not offered, because feeding it to psql fails deep inside a decompression pipe rather than at the door.
  • A name with a space in it will not work. scp "my dump.sql.gz" … produces one, and backup filenames may contain letters, digits, dash, underscore and dot only. Such a file is listed with the exact mv command that renames it.
  • Do not import a file that is still being copied. scp writes to the final name as it goes, so a half-copied dump looks complete in the listing. Wait for the copy to finish before you press Import.
  • A large import can outlast the page. The panel stops waiting after 270 seconds, because its own request timeout is 300. If that happens it says so and tells you the import is still running — it does not report a failure, and you should not start it again. Watch the tables to see it finish. Behind Cloudflare’s proxy the cut comes earlier, at 100 seconds; the panel recognises that case too and says the same thing.

The import streams the file into the container and never buffers it in memory, so size is a matter of time rather than RAM.

If the import itself fails — a truncated dump, a dump for a different engine, SQL the database rejects — you get the database’s own error message, not an incident reference. That is worth stating because it was not true of the restore path before v2.138.0.

The same door is available on the command line:

dockpanel backup db-list mydb        # shows importable dumps, and rejected ones with the reason

What is not built

Being explicit, so you do not go looking:

  • No database GUI that works against a site-owned managed database from a container. Covered above; this is a design decision, not a gap.
  • No managed database for a bare, single-container Docker App. Only Sites and Stacks can own one — see Databases owned by a Stack. If you want a standalone database for a plain Docker App, run it in the app’s own compose stack, or convert the app to a Stack first.
  • No cross-server database access. A database is reachable on the machine that runs it.

Getting files onto a site

The panel’s file manager is for editing a config file, not for moving a website. This guide says plainly what it can and cannot do, and what to use instead.

The short version

You want toUse
Fix a line in wp-config.phpThe file manager
Upload a handful of small filesThe file manager
Move thousands of filesrsync or scp over the server’s own SSH
Load a database dump into a databasescp it to the server, then Databases → Import
Move a whole site from another panelThe Migration wizard
Let a customer upload their own siteNot available yet — see the end

The file manager’s limit is 1.5 MB per file

The number is worth explaining, because it is derived rather than chosen.

An upload is base64-encoded and sent inside a JSON request. The request body is capped at 2 MiB, and base64 costs a third in overhead, so the file itself can be about 1.5 MB (2 MiB × ¾ ≈ 1,572,864 bytes, published and enforced as 1,500,000 to leave room for the path and filename, which travel in the same body). The same 2 MiB cap applies again on the hop between the panel and the agent, so both would have to change together.

You are told before you spend the upload. Since v2.137.0 the browser checks the size first and names the limit, and if a request does reach the server oversize the server answers with the same sentence instead of an unreadable 413. Two larger numbers used to sit in the code — 100 MB in the panel, 50 MB in the agent — and neither could ever fire, so the panel advertised a limit forty times the one it enforced and then refused in silence. That was issue #121; both numbers now read 1.5 MB.

Other upload limits, and which is which

Four different numbers govern four different things. Confusing them is easy:

LimitApplies toTypical value
~1.5 MBUploading through the panel’s file managerfixed
2 MB exactlyOpening a file in the panel’s editorfixed
max_upload_mbWhat visitors can upload to the site (PHP + nginx)64 MB
nginx body sizeThe panel’s own front door100 MB on a standard install

(The public demo is the exception: it fronts the panel with a 10 MB nginx body limit, so a demo upload can be refused by nginx before any of the above applies.)

So a visitor uploading media to a WordPress site gets 64 MB, while the operator using the file manager gets about 1.5 MB. That asymmetry is not intentional design so much as an accident of how the file manager posts data, but it is the current behaviour.

The editor has one more sharp edge: the 2 MB read check measures the file on disk, while saving pays JSON escaping on top of the same 2 MiB envelope. A quote-heavy file just under 2 MB can open and then fail to save.

There is no archive extraction

The file manager cannot unzip or untar. It lists, reads, writes, creates, renames, deletes, downloads and uploads — that is the whole set. Uploading a .zip gets you a .zip sitting on disk.

An administrator with a server shell can extract normally. A site-scoped shell is more restricted and should not be relied on for this.

Moving a real site: use rsync

For anything beyond a few files, copy over the server’s own SSH:

# from the machine holding the files
rsync -avz --progress ./site-files/  root@your-server:/var/www/example.com/public/

# then hand ownership to the web server (Debian/Ubuntu)
chown -R www-data:www-data /var/www/example.com

Put the files in the right directory

This trips people up, so check it before copying:

RuntimeDocument root
Static, PHP, WordPress, Laravel, Symfony/var/www/<domain>/public
Magento/var/www/<domain>/pub
Reverse proxy, Node, Python/var/www/<domain>

The site directory is always /var/www/<domain>, but for most runtimes the web server serves the public subdirectory inside it. Copying a WordPress install to /var/www/example.com/ rather than /var/www/example.com/public/ puts every file one level above the document root, and the site will not load.

The panel does not display the document root on the site’s page. Use the table above. (The web terminal does print the site directory when you open it.)

Coming from another control panel

The Migration wizard imports from cPanel, Plesk and HestiaCP, and moves sites and databases. It is administrator-only.

If all you have is a .sql dump rather than a whole panel backup, you do not need the wizard — see Importing a dump you already have. It takes the same shape: you put the file on the server, the panel takes its name, and the upload limit above never enters into it.

Mail accounts are not migrated. For cPanel archives the wizard lists the mail accounts it found so you know what to recreate, and for Plesk and HestiaCP it does not even list them. Either way, mailboxes have to be recreated by hand in the Mail section.

Per-site SFTP does not exist yet

Today there are two ways into a site’s files: the file manager, with the limits above, and shell access. Both mean the operator does the work.

There is no per-site SFTP account, and no per-site system user to hang one on — every site’s files are owned by the web server user. Giving a customer scoped upload access is a decided direction rather than an open question, and it is the most-requested missing piece, but it is not built and this guide will not pretend otherwise.

If you are running sites for other people today, the honest answer is that file upload is still your job.

WordPress Site Guide

Prerequisites

  • DockPanel installed and running
  • A domain with an A record pointing to your server’s IP (see Getting Started)
  • Port 80 and 443 open in your firewall (DockPanel opens these during install)

Create a WordPress Site

From the Panel

  1. Go to Sites in the sidebar
  2. Click New Site
  3. Fill in the form:
    • Domain: example.com
    • Runtime: PHP
    • CMS: WordPress
  4. Click Create

From the CLI

dockpanel sites create example.com --runtime php --ssl --ssl-email you@example.com

The CLI creates the site with PHP and SSL. WordPress CMS installation is available through the panel interface.

What Happens Automatically

When you create a WordPress site, DockPanel performs these steps in sequence:

  1. Creates the document root at /var/www/example.com/public/
  2. Creates a MySQL database in a Docker container with auto-generated credentials
  3. Downloads WordPress to the document root
  4. Configures wp-config.php with the database credentials, table prefix, and security salts
  5. Writes the Nginx config with PHP-FPM upstream, WordPress-specific rewrite rules, and security headers
  6. Provisions a free SSL certificate via Let’s Encrypt (requires DNS to be pointed)
  7. Reloads Nginx to apply the configuration

You can watch each step complete in real-time from the panel.

The site’s address, before and after the certificate

WordPress stores the address it thinks it lives at, and it redirects visitors to that address. So DockPanel installs the site at http://example.com — the URL the server can serve on the spot, whether or not a certificate has arrived yet.

The moment a certificate is in place, DockPanel moves the stored address to https://example.com and Nginx starts redirecting HTTP to HTTPS. That happens automatically on every path that can produce a certificate: the one issued during site creation, a retry from the site’s SSL card, a DNS-01 or wildcard certificate, and an uploaded custom certificate. You do not have to change the WordPress Address or Site Address by hand.

If you had already set a different address (a separate front end, WordPress in a subdirectory, a www. canonical host), DockPanel leaves it exactly as it is.

Post-Install

Once the site is created:

  1. Open https://example.com/wp-admin/install.php in your browser
  2. Complete the WordPress installation wizard (site title, admin username, password, email)
  3. Log in at https://example.com/wp-admin

WordPress Toolkit

DockPanel includes a WordPress Toolkit (sidebar > WordPress) that provides:

  • Multi-site dashboard – See all WordPress installations on the server
  • Vulnerability scanning – Checks plugins against 14 known exploited vulnerabilities. Manual “Scan” button, plus an optional scheduled background sweep (Settings → WordPress Vulnerability Scanning, off by default) that rescans every WordPress site on an interval and alerts on critical or high severity findings – the direct peer of Docker image scanning’s own scheduled sweep.
  • Security hardening – 7 checks (6 auto-fixable) including file permissions, debug mode, editor access
  • Bulk updates – Update plugins, themes, and WordPress core across multiple sites at once

Troubleshooting

PHP-FPM not installed

Symptom: Site creation fails with a message about PHP-FPM socket not found.

Fix: Install the version from the PHP Version control itself — on the create-site form, or on an existing site’s detail page. Since v2.49.0 it lists what this server has and offers to install anything it does not, streaming the install as it runs.

The Settings → Services PHP tile is a different thing: it installs whatever version the distribution offers and takes no version argument, so it cannot be used to get a specific one.

From the CLI:

dockpanel php list
dockpanel php install 8.3

DockPanel validates that PHP-FPM is available before writing the Nginx config and will tell you exactly which version to install.

SSL provisioning fails

Symptom: Site is created but shows HTTP only, or SSL provisioning returns an error.

The site still works over HTTP while you sort this out, and it moves itself to HTTPS as soon as a certificate is issued — there is nothing to change inside WordPress afterwards.

Causes and fixes:

  • DNS not pointed: The A record for your domain must resolve to this server’s IP. Check with dig example.com +short.
  • Port 80 blocked: Let’s Encrypt uses HTTP-01 challenges on port 80. Check your firewall: ufw status. Port 80 must be open.
  • Rate limit: Let’s Encrypt has a rate limit of 5 duplicate certificates per week. Wait and retry, or use a different subdomain for testing.

Retry SSL provisioning:

dockpanel ssl provision example.com --email you@example.com --runtime php

502 Bad Gateway

Symptom: The site loads but shows a 502 error.

Causes and fixes:

  • PHP-FPM not running: Check the service status:

    systemctl status php8.3-fpm
    

    Restart it if needed:

    systemctl restart php8.3-fpm
    
  • Wrong PHP-FPM socket path: Verify the Nginx config points to the correct socket:

    grep fastcgi_pass /etc/nginx/sites-available/example.com
    

    It should match the running PHP-FPM version (e.g., /run/php/php8.3-fpm.sock).

  • WordPress memory limit: Add to wp-config.php:

    define('WP_MEMORY_LIMIT', '256M');
    

Database connection error

Symptom: WordPress shows “Error establishing a database connection”.

Fix: Check that the MySQL container is running:

docker ps | grep mysql

If it is not running, start it from the panel (Databases page) or restart it:

docker start <container_id>

Verify the credentials in /var/www/example.com/public/wp-config.php match the database container’s environment.

Git Deploy Guide

Overview

Git Deploy lets you push code to a Git repository and have DockPanel automatically build and deploy it. The pipeline supports:

  • Webhook-triggered deploys from GitHub, GitLab, or any Git provider
  • Nixpacks auto-detection for 30+ languages (no Dockerfile needed)
  • Blue-green zero-downtime deployments with automatic traffic switching
  • Preview environments with TTL-based auto-cleanup
  • Rollback to any previous deployment

Create a Git Deployment

From the Panel

  1. Go to Git Deploys in the sidebar
  2. Click New Deploy
  3. Fill in the form:
    • Repository URL: https://github.com/you/your-app.git (or SSH URL for private repos)
    • Branch: main
    • Port: The port your app listens on (e.g., 3000)
    • Domain (optional): app.example.com for auto reverse proxy + SSL
    • HTTPS: plain HTTP, a Let’s Encrypt certificate DockPanel orders for you, or a certificate you already registered under Monitoring → Certificates — see below
  4. Click Create

DockPanel will clone the repository, detect the build method, build a Docker image, and start the container.

Serving a registered certificate instead of Let’s Encrypt

If you already hold a certificate — a wildcard from your CA, a corporate PKI leaf — register it once under Monitoring → Certificates, then choose Registered certificate for HTTPS instead of ordering a new Let’s Encrypt one. The certificate must actually cover the domain you’re deploying to; a mismatch is refused rather than served, and every deploy re-checks it, not just the first.

If the certificate can’t be applied at deploy time (removed since, or no longer covers the domain), the deploy still succeeds — the container comes up — but the domain is served over plain HTTP and the panel raises a warning naming why. It never silently downgrades a certificate that was already live: on a redeploy of a running container the existing HTTPS vhost is left untouched unless the domain itself changes.

An agent older than v2.160.0 does not understand a registered certificate at all; provided mode is refused up front on a server running one, rather than silently falling back to plain HTTP or Let’s Encrypt.

Before you build: a Git Deploy container has no persistent storage unless you declare one. Every deploy replaces the container, so anything the app writes to its own filesystem is lost on the next deploy — unless you add a Persistent Volume for that path. Read Persistent Volumes before you design where your data lives.

Changing the domain later

Editing the Domain field moves the deploy to the new hostname and takes the old one down for you: the previous nginx vhost is removed and its certificate directory deleted, so the old name stops answering and becomes available for another site or deploy to claim.

Both removals are conditional, and deliberately so. The old vhost is removed only while it still proxies to this deploy’s container; if something else has since taken that hostname over, the config is left exactly where it is and the panel logs why. The certificate directory is kept if another vhost still points at it — a wildcard shared across the zone, for example.

Clearing the Domain field entirely is still refused. Moving a deploy from one hostname to another is supported; removing its hostname without supplying a replacement is not yet, and the panel says so rather than accepting the edit and silently keeping the old value.

Stopping a deploy

Stop stops the container and it stays stopped; Start brings it back.

Be aware of what this does not give you, because the difference matters if you are used to Docker Apps: a Git Deploy is not covered by container monitoring. If its container exits on its own, no “container down” alert is raised and nothing restarts it automatically. Docker Apps get both; Git Deploys get neither. Use an uptime monitor against the deploy’s URL if you need to be told when it stops serving.

Webhook Setup

Webhooks trigger automatic deploys when you push to your repository.

GitHub

  1. In DockPanel, open your Git Deploy and copy the Webhook URL (shown after creation)
  2. In GitHub, go to your repository > Settings > Webhooks > Add webhook
  3. Configure:
    • Payload URL: Paste the webhook URL from DockPanel
    • Content type: application/json
    • Secret: Leave empty (DockPanel validates by repository URL)
    • Events: Select “Just the push event”
  4. Click Add webhook

GitLab

  1. Copy the webhook URL from DockPanel
  2. In GitLab, go to your project > Settings > Webhooks
  3. Configure:
    • URL: Paste the webhook URL
    • Trigger: Push events
    • Branch filter: main (or your deploy branch)
  4. Click Add webhook

Now every push to the configured branch triggers a build and deploy.

Deploy Keys (Private Repositories)

Private repositories are cloned over SSH, with a deploy key the panel generates for you. Generate it from the panel — a key you place on the server by hand is not used, because the only thing that records where a deploy’s key lives is the Generate Deploy Key button.

  1. Create the Git Deploy with the SSH repository URL:

    git@github.com:you/your-private-app.git
    

    The first deploy will fail to clone until step 3 — that is expected.

  2. Open the deploy and click Generate Deploy Key. The panel creates the keypair on the server that hosts the deploy, stores the private key where the agent can read it, and shows you the public half.

  3. Add that public key to your repository:

    • GitHub: Repository → Settings → Deploy keys → Add deploy key
    • GitLab: Repository → Settings → Repository → Deploy keys
  4. Click Deploy (or push, if the webhook is set up). The clone now succeeds.

Clicking Generate Deploy Key again replaces the key, so the old public key stops working and has to be removed from the provider and re-added.

Cloning a private repository over HTTPS is not supported

An https:// URL to a private repository fails with

fatal: could not read Username for 'https://github.com': terminal prompts disabled

The agent runs git non-interactively and has no credential store, so there is no password prompt to answer. Use the SSH URL and a deploy key as above.

Do not put a token in the repository URL. https://TOKEN@github.com/you/app.git clones, which is exactly what makes it tempting — but the URL is stored as you typed it, so the token ends up in the panel’s database, in .git/config on the server, in git’s own error output, and in every pre-update snapshot archive. It also keeps working after you rotate the token in the panel, because the checkout on disk still has the old one. The panel masks credentials wherever it prints a repository URL, which limits who can read it but does not un-store it. A deploy key is scoped to one repository, does not expire, and is what this path is built for.

What the GitHub Token field is for

The GitHub Token on the deploy form is not a clone credential. It is used only to post commit statuses back to GitHub after a deploy, so a commit shows a green tick. Leaving it empty changes nothing about cloning.

This includes preview deployments (below), not just regular and scheduled deploys: a pending status is posted when a pushed branch starts building, and success or failure when it finishes, with a link back to the live preview URL so the status check on GitHub’s own commit/PR view is clickable.

Persistent Volumes

By default a Git Deploy container has no volumes and no bind mounts, and every deploy replaces the container. Anything the application writes to its own filesystem — uploaded files, generated documents, a SQLite database, a cache — is gone on the next deploy unless the path is declared as a Persistent Volume in the deploy’s settings.

Nothing used to warn you at the time: the first deploy worked, the app wrote files, and the loss happened on the second deploy, which usually looked unrelated. If your app writes to its own filesystem, add the path (e.g. /data or /app/uploads) under Persistent Volumes on the deploy form before you rely on it surviving a redeploy.

How it works

  • Container paths only. You declare where the app writes inside the container — /data, not a host path. DockPanel manages the host location for you, under its own data directory, one subdirectory per deploy per declared path. There is no field for the host side, and there does not need to be one.
  • Takes effect on the next deploy. Adding or editing the list saves immediately, but nothing about the running container changes until you deploy again.
  • Adding a path to an already-running deploy carries its existing data forward. If the app already wrote real files at that path — in the container’s own writable layer, because it was never mounted — the next deploy copies them out onto the new persistent location before the old container is removed. You do not lose what was already there.
  • Blue-green is not used for a deploy with any persistent volume. Zero-downtime swaps briefly run the old and new container side by side, and two containers writing the same files at once is exactly the kind of silent corruption a single-writer database (SQLite, for example) cannot survive. A deploy with a volume gets the ordinary stop-then-start path instead — a brief gap in traffic, never two writers.
  • Removing a path from the list stops mounting it on the next deploy, but does not delete the data. It stays on disk, orphaned, in case you added it back or need to recover it by hand.
  • Deleting the deploy entirely removes its volume data too, the same way deleting a Docker App removes its data directory.

What still does not get one

  • Preview environments never get persistent volumes, even if the parent deploy has them. A preview is throwaway by design — its TTL cleanup would otherwise be destroying real data instead of a re-clonable checkout.
  • A Compose-based deploy (see the warning below) does not go through this field at all; volumes there come from the compose file itself.

Alternatives worth knowing about

A declared volume is local disk on one server. For anything that needs to survive moving the app to another machine, or that several instances need to share, these remain the better fit:

  • A database — create one under Databases and connect to it with an environment variable.
  • Object storage — S3, MinIO or similar for user uploads and generated files.

Two things that look like solutions and are not:

  • VOLUME in the Dockerfile alone, with nothing declared in the deploy’s settings, still gives each new container a fresh anonymous volume — nothing carries over.
  • Mounting something by hand with docker run is undone by the next deploy, which recreates the container through the panel.

Do not add a docker-compose.yml to an existing Git Deploy to get volumes. The presence of a compose file switches the deploy onto a different code path that does not read the Domain field, does not write an nginx vhost, does not issue a certificate, and does not remove the container already running. Your domain goes on serving the previous build while the new stack runs beside it on its own port. Blue-green deploys and preview environments are unavailable while a compose file is present, and a rollback entry recorded under Compose has no image to roll back to. Use the Persistent Volumes field above instead — it is built for exactly this and keeps the domain, certificate, zero-downtime swaps, previews and rollback all working.

Two parts of that warning were closed in v2.148.0, and the rest of it stands:

  • A compose file with a service that builds from source instead of naming an image is now refused, and the refusal names the services. Previously the compose engine skipped them silently, so a repository with a Dockerfile — the usual case — deployed without its own application. If you see that refusal, either give each of those services an already-built image:, or remove the compose file: without it the deployment builds your Dockerfile and also gets the domain, the certificate, zero-downtime swaps, previews and rollback.
  • A compose deploy in which no service stayed running is now recorded as failed, with the agent’s reason. Previously the panel wrote running for it, because the per-service outcomes arrive inside a successful HTTP response and nothing read them. This mattered more than it sounds: the compose engine removes nothing, so a second compose deploy of the same deployment collides with its own container names and every service fails — and that was reported as a successful deploy of the new commit.

Nixpacks Auto-Detection

DockPanel uses Nixpacks to automatically detect your app’s language and build it into an optimized Docker image – no Dockerfile required.

Supported languages include: Node.js, Python, Go, Rust, Ruby, PHP, Java, .NET, Elixir, Haskell, Crystal, Dart, Swift, Zig, and more (30+ total).

The build pipeline tries methods in this order:

  1. Nixpacks – Auto-detect language from project files (package.json, requirements.txt, go.mod, etc.)
  2. Auto-detect fallback – Built-in detection for 6 common languages
  3. Dockerfile – If a Dockerfile is present in the repository root

The build method used is tracked per deployment in the deploy history.

Customizing the Build

If Nixpacks does not detect your app correctly, add a Dockerfile to your repository root and DockPanel will use it instead.

For Nixpacks-specific customization, add a nixpacks.toml to your repository:

[phases.setup]
nixPkgs = ["...", "ffmpeg"]

[phases.build]
cmds = ["npm run build"]

[start]
cmd = "npm start"

Preview Environments

Preview environments let you deploy branches for testing before merging.

How It Works

  1. Create a Git Deploy for your main branch
  2. Configure preview_ttl_hours (e.g., 72 for 3-day TTL)
  3. Push to a feature branch and trigger the webhook
  4. DockPanel creates a preview deployment on an auto-assigned port
  5. Access it at preview-branch-name.example.com or via the assigned port
  6. After the TTL expires, the preview is automatically cleaned up

Branch Deletion Cleanup

When a branch is deleted in GitHub/GitLab, the webhook notification automatically removes the corresponding preview environment. No manual cleanup needed.

TTL Reset

If you push new commits to a preview branch, the TTL timer resets. The preview stays alive as long as the branch is active.

Deploy Protection (two-person rule)

Tick Require another admin’s approval before deploy on a deployment and pressing Deploy no longer builds anything. It files a request, and a different administrator has to approve it.

  1. The owner presses Deploy. The panel confirms that a request will be filed rather than a deploy started, and the other administrators are notified once.
  2. The request appears under Pending Approvals at the top of the Git Deploy page, naming the deployment, the repository and branch, and who asked.
  3. A second administrator presses Approve — which starts the build — or Reject, which is final; the requester has to ask again.

Notes worth knowing before you rely on it:

  • You cannot approve your own request. On an install with only one administrator nobody can ever approve, so the owner gets a Withdraw button instead. That is the only way out — a deployment may have just one request waiting at a time.
  • It covers the Deploy button only. Webhook deploys, scheduled (cron and one-time) deploys, and rollbacks all still deploy without approval. If you need those covered, turn them off on the deployment as well.
  • The deployment’s owner can switch the setting off — the administrator it constrains, and no other: editing a deployment is scoped to the account that owns it, so a second administrator cannot clear the flag on someone else’s. Doing so cancels whatever was waiting, and is written to the security audit log, which cannot be edited or deleted. Treat it as a guard against acting alone by accident, not as a control over an administrator who does not want it.
  • Approvals and rejections are kept as a record of who decided what, and survive the deletion of the account that made them.

Rollback

Every deployment is tracked in the deploy history with a build hash and timestamp.

From the Panel

  1. Go to Git Deploys and open your deployment
  2. Click the History tab
  3. Find the version you want to roll back to
  4. Click Rollback

DockPanel performs a blue-green rollback: it starts the old version in a new container, verifies the health check, and switches traffic – the same zero-downtime process as a forward deploy.

Deploy History

Each deploy records:

  • Commit hash and message
  • Build method (Nixpacks, Dockerfile, or auto-detect)
  • Build duration
  • Deploy status (success, failed, rolled back)
  • Timestamp

View history from the panel or filter deploys in the activity log.

Email Management Guide

Prerequisites

Before setting up email, make sure:

  • Port 25 is open – Many cloud providers (AWS, GCP, Azure, Oracle) block outbound port 25 by default. You may need to request an unblock from your provider, or use SMTP relay (see below).
  • rDNS / PTR record is set – Your server’s IP must have a reverse DNS record pointing to a hostname (e.g., mail.example.com). Set this in your VPS provider’s control panel (Vultr, Hetzner, DigitalOcean, etc.), not in your domain DNS.
  • A domain with DNS access – You need to add MX, SPF, DKIM, and DMARC records.

Check if port 25 is open:

telnet smtp.gmail.com 25

If the connection times out, port 25 is blocked on your network.

One-Click Install

DockPanel installs a complete mail server stack with one click.

  1. Go to Mail in the sidebar
  2. If the mail server is not installed, click Install Mail Server
  3. DockPanel installs and configures:
    • Postfix – SMTP server for sending and receiving email
    • Dovecot – IMAP/POP3 server for reading email
    • OpenDKIM – DKIM signing for email authentication

The installation takes about 30 seconds. It also opens the mail ports (25, 587, 465, 143, 993, 110, 995) in the firewall, sets Postfix’s HELO name from your panel domain, and hands Dovecot your Let’s Encrypt certificate if the box has one.

One thing DockPanel cannot do for you: reverse DNS

Set a PTR record for your server’s IP, pointing at your mail hostname. Only whoever owns the IP can do this – your hosting provider, usually under “reverse DNS” in their control panel. Without it receivers add a spam score for an unknown sending host no matter how good your SPF, DKIM and DMARC are: on a freshly-installed test box, the missing PTR was worth 2.5 points on its own once everything else was correct.

Add a Mail Domain

  1. Go to Mail > Domains
  2. Click Add Domain
  3. Enter your domain name: example.com
  4. DockPanel generates the DKIM keys and shows the DNS records you need to add

DNS Records

After adding a mail domain, you must add these DNS records at your domain registrar or DNS provider.

Read them from the panel, not from here. Open the domain, go to the DNS Records tab, and copy each record — every field is copyable and each one is marked published or missing once you press Verify DNS. The values depend on your server’s address and on the DKIM key generated for your domain, so a page like this one cannot state them without going stale.

This guide used to spell the records out, and every one of them was wrong in some way by the time you read it: it named the DKIM selector default when DockPanel has always used dockpanel, and it described the mail host as mail.example.com when the records DockPanel publishes use the domain itself. Following it produced a DKIM record that could never verify.

What the panel gives you, and why each one exists:

RecordWhat it does
AThe address other mail servers connect to. Must not be proxied.
MXWhere mail for this domain is delivered.
TXT (SPF)Authorises this server to send mail for the domain.
TXT (DKIM)The public key receivers use to verify our signature.
TXT (DMARC)Tells receivers what to do when SPF or DKIM fails.

If DockPanel manages the domain’s DNS zone, these are created for you when you add the domain — there is nothing to copy.

Checking them

Verify DNS on the same tab checks that each record resolves and points at this server, rather than merely that something exists. A domain whose MX belongs to another provider is reported as such. See What DockPanel checks for you for the full behaviour, including what happens when a lookup cannot be run at all.

DMARC policy

DockPanel suggests p=quarantine, which asks receivers to flag suspicious mail. Once you have confirmed everything works, tightening it to p=reject (block spoofed email outright) is a change worth making by hand at your DNS provider.

Create Mailboxes

  1. Go to Mail > Mailboxes
  2. Click Add Mailbox
  3. Enter:
    • Email address: user@example.com
    • Password: A strong password
    • Quota (optional): Storage limit in MB
  4. Click Create

You can also create:

  • Aliases – Forward info@example.com to user@example.com
  • Catch-all – Route all unmatched addresses to a single mailbox
  • Autoresponders – Out-of-office or auto-reply messages

Who may send as what

A mailbox may put its own address in the envelope sender, and any address at a domain it has a mailbox on. It may not send as an address on a domain it holds no mailbox on – so on a server hosting mail for several customers, one customer cannot send mail claiming to be another, and cannot borrow the other’s DKIM signature by doing so. Postfix answers such an attempt with 553 5.7.1 Sender address rejected: not owned by user.

The rule is an allow-list, and that is the part worth reading twice: an authenticated client may use an envelope sender only if it is a mailbox on this server, or sits at a domain hosted on this server. Anything the server does not host is refused – not ignored.

The case that trips people is a subdomain. shop.example.com is a different domain from example.com. If you host example.com and try to send as orders@shop.example.com without adding the subdomain as its own mail domain, that send is refused. Add it as a mail domain, or send as an address at a domain you already host.

Consequences worth knowing before you design around it:

  • Mailboxes inside one domain may send as each other, and as any address at that domain. They belong to the same customer, so this is not a boundary DockPanel tries to enforce – if you need per-mailbox sender restrictions within a single domain, that is not something this provides.
  • You cannot use this server as an authenticated relay for a domain it does not host. If you need that, host the domain here or relay through a provider that is authoritative for it.
  • The check applies only to authenticated submission. Mail arriving from the internet with one of your domains in the envelope sender is unaffected, which is what keeps mailing lists, forwarders and third-party senders working. Use SPF and a DMARC policy for that direction; see DNS Records.
  • Sites’ PHP mail() and anything else using the local sendmail command are unaffected – local submission never passes through these restrictions.
  • If you point the panel’s own SMTP relay at this same server, authenticate as an address on the domain you send from. Authenticating as one mailbox and sending as an unrelated address is now refused, the same as it would be for any other customer.

This is applied automatically. A server already hosting mail picks it up the next time you add or change a mailbox, alias or domain. Re-running the mail installer is safe: it keeps the sender list a running server already has, and on a server with no mailboxes yet it leaves the check disarmed rather than arming it against an empty list – which would have refused every authenticated send on the box until the next mailbox change.

Test Sending and Receiving

Test sending

Send a test email from the server:

echo "Test from DockPanel mail server" | mail -s "Test Email" recipient@gmail.com

Or use the mail queue viewer in the panel (Mail > Queue) to monitor outgoing messages.

Test receiving

Send an email from an external account (Gmail, Outlook) to user@example.com and check:

  1. The mailbox in the panel (Mail > Mailboxes > user@example.com)
  2. Or connect with an IMAP client (Thunderbird, Outlook) using:
    • IMAP server: mail.example.com
    • Port: 993 (SSL/TLS)
    • Username: user@example.com
    • Password: The mailbox password

Verify DNS records

Press Verify DNS on the domain’s DNS Records tab — that checks the records point at this server, which a raw lookup cannot tell you.

To check by hand, substituting your own domain (and noting that DockPanel’s DKIM selector is dockpanel, not the default many guides assume):

  • MX: dig MX example.com +short
  • SPF: dig TXT example.com +short
  • DKIM: dig TXT dockpanel._domainkey.example.com +short
  • DMARC: dig TXT _dmarc.example.com +short

Use mail-tester.com to check your overall email deliverability score.

SMTP Relay

If your provider blocks port 25 (most cloud providers do), configure an SMTP relay to send email through a third-party service.

Supported relay providers: SendGrid, Mailgun, Amazon SES, Brevo, or any SMTP server.

  1. Go to Mail > Settings
  2. Enable SMTP Relay
  3. Enter relay credentials:
    • SMTP host: smtp.sendgrid.net
    • Port: 587
    • Username: apikey
    • Password: Your SendGrid API key
  4. Save

DockPanel configures Postfix to route all outbound email through the relay. Incoming email still arrives directly to your server (port 25 inbound is not blocked by providers, only outbound).

Webmail (Roundcube)

Roundcube provides browser-based email access. There are two ways to install it, and they do not behave the same.

  1. Go to Docker Apps
  2. Search for Roundcube
  3. Click Deploy
  4. Set a domain (e.g., webmail.example.com)

Your users then read their mail at https://webmail.example.com. Prefer this. Roundcube expects to own the root of the site it is served from, and giving it its own hostname avoids the problem below entirely.

Under /webmail/ on the panel domain

The Mail page can also install Roundcube as a path on the panel’s own domain. It is quicker to set up and needs no second DNS record.

Known issue (v2.36.0). Installed this way, the message list can render empty even though the mailbox has mail in it — a frame is navigated to the panel root, whose security policy refuses it, and the error stops the list from loading. Logging in, IMAP, POP3 and delivery are all unaffected, and any desktop or phone mail client works normally against the same account. If you hit this, deploy Roundcube on its own domain as described above.

Spam Filter (Rspamd)

Rspamd provides spam filtering, greylisting, and DKIM verification for incoming mail.

  1. Go to Docker Apps
  2. Search for Rspamd
  3. Click Deploy

Rspamd includes a web interface for viewing spam statistics and adjusting filter rules.

Multi-Server Management Guide

Overview

DockPanel lets you manage unlimited remote servers from a single panel. One server runs the full panel (API + frontend + database), and remote servers run only the lightweight agent binary (~22MB, ~35MB RAM). All communication between the panel and remote agents uses HTTPS with token-based authentication.

Architecture

┌──────────────────────────┐
│     Panel Server         │
│  (API + Frontend + DB)   │
│                          │
│  Agent (local, Unix sock)│
└─────────┬────────────────┘
          │ HTTPS (port 9443)
          │
    ┌─────┴──────┐
    │            │
┌───▼───┐  ┌───▼───┐
│Remote 1│  │Remote 2│
│ Agent  │  │ Agent  │
└────────┘  └────────┘

Install the Remote Agent

On the remote server, run the agent install script with your panel’s URL and authentication token:

curl -sSL https://your-panel.example.com/install-agent.sh | sudo bash -s -- \
  --panel-url https://your-panel.example.com \
  --token YOUR_AGENT_TOKEN \
  --server-id SERVER_UUID

Where:

  • --panel-url – The URL of your main DockPanel instance
  • --token – The agent authentication token (found in Settings > API or /etc/dockpanel/api.env on the panel server)
  • --server-id – The server UUID (generated when you add the server in the panel)

The install script:

  1. Detects the OS and architecture (x86_64 or ARM64)
  2. Downloads the pre-built agent binary from GitHub Releases
  3. Installs Docker if not present
  4. Writes the agent config to /etc/dockpanel/api.env
  5. Creates a systemd service and starts the agent
  6. Opens port 9443 in the firewall

The agent supports Ubuntu 20+, Debian 11+, CentOS 9+, Rocky Linux 9+, AlmaLinux 9+, and Fedora 39+.

Add a Server in the Panel

  1. Go to Servers in the sidebar
  2. Click Add Server
  3. Enter:
    • Name: A label for the server (e.g., web-2, eu-prod)
    • Hostname / IP: The remote server’s public IP or hostname
    • Port: 9443 (default)
  4. Click Add
  5. The panel generates a Server UUID and Token – use these in the agent install command

Test Connection

After installing the remote agent and adding the server in the panel:

  1. Go to Servers
  2. Find your server in the list
  3. Click Test Connection

A successful test confirms that:

  • The agent is running and reachable
  • The authentication token matches
  • The HTTPS connection is established

If the test fails, see Network Requirements below.

Network Requirements

The remote agent listens on port 9443 (TCP) for incoming connections from the panel.

Firewall rules

On the remote server, port 9443 must be open:

# UFW (Ubuntu/Debian)
ufw allow 9443/tcp

# firewalld (CentOS/Rocky)
firewall-cmd --permanent --add-port=9443/tcp
firewall-cmd --reload

Security group (cloud providers)

If the remote server is on AWS, GCP, Azure, or Oracle Cloud, add an inbound rule in the security group:

  • Protocol: TCP
  • Port: 9443
  • Source: The panel server’s public IP (for best security), or 0.0.0.0/0

TLS

All communication between the panel and remote agents uses HTTPS (TLS). The agent generates a self-signed certificate on first start. No manual certificate management is needed.

Managing Resources Across Servers

Once connected, you can manage remote servers exactly like the local server.

Server Selector

The sidebar shows a server selector at the top. Choose a server to scope all operations (Sites, Databases, Docker Apps, Backups, etc.) to that server.

What you can do on remote servers

  • Create and manage sites (static, PHP, Node.js, Python, proxy)
  • Create and manage databases (MySQL, PostgreSQL)
  • Deploy Docker apps from templates
  • Set up Git Deploy with webhooks
  • Manage SSL certificates
  • Create and restore backups
  • Run diagnostics
  • Read logs (search, tail and download)
  • Manage firewall rules

What is panel-host only

Three features terminate on the panel’s own machine and cannot yet be pointed at a fleet member. Select the panel server to use them:

  • The web terminal. Ticket-based, and the browser reaches the agent through the panel’s own address, so a member’s shell is not reachable from the panel UI. Use SSH for a member. DockPanel says so when you try, naming the server you have selected, rather than appearing to fail.
  • Live log streaming (the “Stream” toggle on the Logs page), for the same reason. Reading, searching and downloading a member’s logs works normally – only the live tail is affected.
  • The live metrics socket behind the dashboard gauges. A member’s metrics still arrive, on the interval below.

Metrics and monitoring

The remote agent periodically reports metrics (CPU, RAM, disk, network) to the central panel. You can set up alerts and monitor uptime across the fleet from the single panel.

The dashboard’s own gauges show the panel host. Per-server metrics are collected and stored for every member, but there is no per-server dashboard view yet.

Reseller server allocation

If you use reseller accounts, you can allocate specific servers to specific resellers. Reseller users only see and manage resources on their allocated servers.

Allocate them in Admin → Resellers: expand a reseller’s row, pick a server and allocate it. The same row is where you set that reseller’s quotas and white-label branding, and where you promote an account to reseller in the first place — the role dropdown in Users deliberately does not offer it, because a reseller needs a profile as well as a role.

MCP Server Guide

dockpanel-mcp exposes read-only fleet introspection to AI agents over the Model Context Protocol — the same information an operator sees in the panel, reachable by an agent over Streamable HTTP.

v1 is read-only. Zero mutating or destructive tools. Every call is a thin proxy onto the existing REST API — no new business logic, no new permissions model. Mutating tools are planned for a later release, gated behind an explicit confirmation model; see FEATURES.md for the roadmap.

Concepts

  • A 4th binary: dockpanel-mcp ships alongside dockpanel-api, dockpanel-agent and the dockpanel CLI, but is not installed running — it is off by default on every install, opt-in only.
  • Its own API key: authenticates the same way the CLI does — a dp_ key minted from Settings → API Keys, saved to a token file. Independently revocable from any other key on the box.
  • Streamable HTTP only: no stdio transport. The server is meant to be reached over the network (by an agent that doesn’t run on the same host), proxied through nginx at /mcp alongside the existing /api and /agent locations.
  • Attributed audit trail: every call an MCP-originated key makes is recorded in the panel’s own security audit log, tagged with the key that made it — the same table an operator reviews for any other login or action.

Setup

  1. Mint a key. Settings → Account → API Keys → + Create Key, name it something like “MCP server”. Copy the value shown — it will not be shown again.
  2. Save the token on the host, root-only:
    echo 'dp_...' > /etc/dockpanel/mcp.token
    chown root:root /etc/dockpanel/mcp.token
    chmod 600 /etc/dockpanel/mcp.token
    
  3. Start the service:
    systemctl enable --now dockpanel-mcp
    
  4. Record it in Settings → Services → MCP Server so the panel’s own Settings page shows accurate status. This step is bookkeeping only — it does not itself start or stop the service.

Once running, the endpoint is https://<your-panel-domain>/mcp (nginx proxies it exactly like /api and /agent). Point any MCP-capable client at that URL with the key from step 1 as a bearer token.

Bind mode

The default (loopback) binds dockpanel-mcp to 127.0.0.1, reachable only through the nginx proxy — the same posture as the API and agent. An advanced direct mode exists (set LISTEN_ADDR in /etc/dockpanel/mcp.env) that binds a different address, bypassing nginx and TLS entirely; only use it if you are fronting the service with your own reverse proxy.

Tool catalogue (v1, ~40 tools)

This table is a quick reference, hand-maintained — the live tools/list MCP call against your own instance is always authoritative for exact schemas.

ToolWhat it returns
list_sites / get_siteEvery hosted site / full detail for one
list_apps / get_app_logs / get_app_statsDocker apps, their logs, their live resource stats
list_cronsScheduled cron jobs for one site
list_site_backupsSite backup metadata (not the contents — no restore tool)
list_wordpress_sitesFleet-wide WordPress inventory
list_databases / get_database_tablesDatabases and their table/row-count schema (never credentials)
list_servers / get_server_metricsFleet servers and their CPU/memory/disk history
get_fleet_dashboardThe same fleet overview the panel’s own dashboard shows
list_monitors / get_monitor_uptimeUptime monitors and their history
get_status_pageThe public status page, as an unauthenticated visitor sees it
list_alerts / get_alerts_summaryActive/recent alerts, and a rolled-up count by severity
list_on_call_schedules / list_escalation_policiesOn-call rotations and escalation policies
list_incidentsManaged incidents tracked for the status page
get_security_overview / get_security_postureFirewall/fail2ban/canary status at a glance, and the computed posture score
get_security_audit_logThe immutable security audit log — logins, lockdowns, key rotations, MCP-originated actions
list_dns_zones / list_dns_recordsDNS zones and their records
get_backup_orchestrator_health / list_db_backupsFleet-wide backup health, and database backup metadata
get_mail_status / list_mail_domainsMail server health and configured domains
get_system_logsnginx/syslog/auth/php-fpm logs, with an optional filter
list_activityThe panel’s own recorded activity feed (broader than the security audit log)
get_update_statusWhether a panel software update is available
list_webhook_endpointsConfigured outbound webhook endpoints (never the inbound receiver URLs)
list_git_deploysGit Deploy configurations
list_stacksDocker Compose stacks
list_usersPanel user accounts (admin-scoped key required)
get_settingsPanel settings, with secret-shaped values masked (admin-scoped key required)
list_resellersReseller accounts (admin-scoped key required)
get_telemetry_statsThis instance’s own recorded telemetry (admin-scoped key required)

Security notes

  • v1’s key model is all-or-nothing, the same as any other dp_ API key — an MCP-originated key can read anything the account it belongs to could read. There is no scoped/read-only key tier yet (api_keys.scopes exists in the schema for a future release but is not enforced in v1). Mint a dedicated account for an agent if you want its blast radius bounded by something other than “everything an admin can see.”
  • Nothing here can mutate or destroy anything. Every tool is a GET against the existing REST API.
  • Revoke a key the same way you would any other: Settings → API Keys → Revoke. The MCP server will start failing with a clear “not configured” error on its next call — no restart needed.

Backups Guide

Create a Manual Backup

From the Panel

  1. Go to Backups in the sidebar
  2. Click Create Backup
  3. Select the site to back up
  4. Click Create

The backup contains the site’s directory — its files — and a dump of every database attached to the site. It is saved as a single compressed tarball in /var/backups/dockpanel/.

For a CMS such as WordPress, almost everything you think of as “the site” — posts, pages, comments, users, settings — lives in the database rather than in the files, so a backup that holds only files cannot bring the site back. Since v2.34.0 both halves travel in the same archive and are restored together.

Backups made before v2.34.0 contain files only. Nothing rewrites an archive that already exists, so any backup taken by an earlier version holds no database. The Backups page marks those Files only, and restoring one warns you before it starts. Take a fresh backup if you want one that includes your content.

The site’s Nginx configuration is not in the tarball; the panel rewrites it from its own records.

What is inside the archive

./                             the site's document root, exactly as it is on disk
.dockpanel-backup/manifest.json  what this archive holds
.dockpanel-backup/db/*.sql.gz    one compressed dump per database

The .dockpanel-backup directory is DockPanel’s own; it is extracted separately during a restore and never lands in your document root.

A database that could not be dumped is not silently skipped: the backup reports which ones are missing, the Backups page shows the archive as incomplete, and a restore tells you before it runs.

From the CLI

dockpanel backup create example.com

Sample output:

Creating backup for example.com...
✓ Backup created
  File:    example.com-20260320-143022.tar.gz
  Size:    45.2 MB
  Content: files only

! This archive contains the site's files but NOT its databases.
  The CLI talks to the agent directly and cannot resolve a site's databases.
  Create the backup from the panel (or the panel API) to include them.

CLI backups are files only. The CLI authenticates to the agent, and the agent has no access to the panel’s database records — it cannot know which databases belong to a site or hold their credentials. Only the panel can assemble a complete backup.

List Backups

dockpanel backup list example.com

Sample output:

FILENAME                                    SIZE      DATE
example.com_2026-03-20_143022.tar.gz        45.2 MB   2026-03-20 14:30
example.com_2026-03-19_020000.tar.gz        44.8 MB   2026-03-19 02:00
example.com_2026-03-18_020000.tar.gz        44.1 MB   2026-03-18 02:00

Set Up Scheduled Backups

  1. Go to Backups in the sidebar
  2. Click the Schedules tab
  3. Click Create Schedule
  4. Configure:
    • Site: Select the site (or “All sites”)
    • Frequency: Daily, weekly, or custom cron expression
    • Time: When to run (e.g., 02:00)
    • Retention: Number of backups to keep (older ones are automatically deleted)
  5. Click Save

Scheduled backups run in the background. The backup scheduler checks for pending jobs at the configured interval.

Configure S3 / Remote Destination

Store backups off-server for disaster recovery. DockPanel supports any S3-compatible storage (AWS S3, Backblaze B2, MinIO, Wasabi, DigitalOcean Spaces, etc.).

  1. Go to Backup Manager > Destinations
  2. Click Add Destination
  3. Enter:
    • Name: A label (e.g., backblaze-b2)
    • Type: S3-compatible
    • Endpoint: https://s3.us-west-001.backblazeb2.com (varies by provider)
    • Bucket: my-server-backups
    • Access Key: Your access key ID
    • Secret Key: Your secret access key
    • Region: us-west-001 (varies by provider)
  4. Click Create Destination. Credentials are encrypted before they are stored.
  5. Click Test on the saved destination to verify access — nothing is checked at save time, and the test runs against the stored credentials.

Use Edit to change a destination later. Secret fields come back masked as ********; leave them as they are to keep the stored credential, or type a new value to rotate it. The transport (S3 or SFTP) cannot be changed on an existing destination — delete it and add a new one instead.

Once a destination is configured, edit your backup schedule and select it as the remote destination. Backups will be uploaded after creation.

Provider-specific endpoints

ProviderEndpoint
AWS S3https://s3.amazonaws.com (or regional: https://s3.us-east-1.amazonaws.com)
Backblaze B2https://s3.REGION.backblazeb2.com
DigitalOcean Spaceshttps://REGION.digitaloceanspaces.com
Wasabihttps://s3.REGION.wasabisys.com
MinIO (self-hosted)https://your-minio-server:9000

Restore from Backup

From the Panel

  1. Go to Backups
  2. Find the backup you want to restore
  3. Click Restore
  4. Confirm the restore

The restore replaces the site’s files with the backup contents, then loads each database dump the archive carries over the live database, dropping and recreating its tables. The current state is not automatically backed up before a restore — create a manual backup first if you want a safety net.

Files are restored first and databases last. A database load that fails rolls back, so the live data is left as it was rather than half-overwritten.

Two outcomes are reported honestly rather than as a success:

  • The archive has no database (it was made before v2.34.0, or its dump failed) and the site has one. You are told before the restore starts that the content will not come back.
  • The files were restored but a database could not be. This is called out as a failure, not a success with a footnote — the site is at that point running restored files against its previous content, and you need to know that.

From the CLI

dockpanel backup restore example.com example.com_2026-03-20_143022.tar.gz

Sample output:

Restoring example.com from example.com_2026-03-20_143022.tar.gz...
✓ Backup restored
  Content: files only (this archive holds no database)

The CLI can restore databases too — if a panel API key is configured. backup restore prefers a panel-API-authenticated path (Settings → API Keys, saved to /etc/dockpanel/backend.token) that restores both files and databases through the same route the panel UI’s own Restore button uses. Without a configured key, it falls back to the older agent-direct path (files only): the agent has no access to the site’s database credentials, so restoring an archive that carries database dumps fails rather than restoring the files and reporting success. Mint a key from the panel, or restore from the panel UI, to include databases.

Delete a Backup

From the CLI

dockpanel backup delete example.com example.com_2026-03-18_020000.tar.gz

From the Panel

Click the delete icon next to any backup in the list.

Database Backups

DockPanel runs an automatic daily database backup cron job for the panel’s own PostgreSQL database:

  • Schedule: Daily at 2:00 AM
  • Retention: 7 days (older backups are automatically deleted)
  • Location: /var/backups/dockpanel/

This is separate from site backups, and it covers the panel’s own database only — not your sites’. A site’s database (its MySQL or PostgreSQL container) is not captured by either one, so back it up with the manual step below or from the Databases page.

Manual database-only backup

To back up a specific database container:

# PostgreSQL
docker exec CONTAINER_NAME pg_dump -U USERNAME DBNAME > /tmp/db-backup.sql

# MySQL / MariaDB
docker exec CONTAINER_NAME mysqldump -u root -pPASSWORD DBNAME > /tmp/db-backup.sql

Replace CONTAINER_NAME, USERNAME, PASSWORD, and DBNAME with your actual values. Find these in the panel under Databases.

Backup Orchestrator Guide

The Backup Orchestrator provides centralized backup management for all databases and Docker volumes on your server. It supports AES-256 encryption, automated policies, restore verification, and a health dashboard.

Overview

Unlike per-site backups (see Backups), the Backup Orchestrator works at the infrastructure level:

  • Database backups: Any PostgreSQL, MySQL/MariaDB, or MongoDB container
  • Volume backups: Any Docker named volume
  • Policies: Automated schedules with retention rules
  • Encryption: Optional AES-256 encryption at rest, for database dumps only
  • Verification: Automated restore tests to confirm backup integrity
  • Destinations: Push backups to S3, SFTP, Backblaze B2, or Google Cloud Storage

Quick Start: Protect Everything

The fastest way to get started is the one-click preset.

  1. Go to Backup Orchestrator in the sidebar
  2. Click Protect Everything
  3. DockPanel creates a policy that backs up all sites, databases, and volumes daily at 2 AM, keeps 7 days of history, and verifies each backup after creation.

Creating Backup Policies

For more control, create a custom policy.

  1. Go to Backup Orchestrator > Policies
  2. Click Create Policy
  3. Configure:
    • Name: A label (e.g., production-dbs-nightly)
    • What to back up: Toggle sites, databases, and/or volumes
    • Schedule: Cron expression (default: 0 2 * * * = daily at 2 AM)
    • Destination: Optional remote destination
    • Retention: Backups to keep, 1-365 (default: 7)
    • Encrypt DB dumps: Enable AES-256 encryption for this policy’s database dumps. Site and volume archives are always written and uploaded unencrypted
    • Verify after backup: Run automated verification after each backup
  4. Click Save

Policies run on schedule. The last run time and status are shown in the policy list.

Database Backups

Create a Database Backup

  1. Go to Backup Orchestrator > Database Backups
  2. Select the database
  3. Click Create Backup

The backup runs pg_dump or mysqldump inside the container and stores the compressed result.

From the CLI:

dockpanel backup db-create dockpanel-db-myapp myapp --db-type postgres --user root --password secret

List Database Backups

dockpanel backup db-list myapp

Restore a Database

  1. Find the backup in the Database Backups list
  2. Click Restore
  3. Confirm

The restore replaces the database contents. Encrypted backups are decrypted automatically.

Volume Backups

Create a Volume Backup

  1. Go to Backup Orchestrator > Volume Backups
  2. Select the container and volume
  3. Click Create Backup

From the CLI:

dockpanel backup vol-create my_app_data my-app-container

List Volume Backups

dockpanel backup vol-list my-app-container

Restore a Volume

  1. Find the backup in the Volume Backups list
  2. Click Restore
  3. Confirm

The container is temporarily stopped during restore, then restarted.

Backup Verification

Verification confirms a backup is intact and restorable by checking file integrity, decompression, headers, and structure.

Automatic Verification

Enable Verify after backup on a policy to verify every backup automatically. Results appear in the Verifications tab.

Manual Verification

  1. Find any backup in the list and click Verify
  2. The check runs in the background

From the CLI:

dockpanel backup verify --type database myapp myapp_2026-03-22_020000.sql.gz

Sample output:

Verifying database backup: myapp_2026-03-22_020000.sql.gz...
  Verification PASSED (4/4 checks, 320ms)
    File exists and readable
    Decompresses without errors
    SQL header valid
    Table count matches (23 tables)

Verification types: site, database, volume.

Backup Destinations

Store backups off-server. There are exactly two destination types — s3 and sftp — and every S3-compatible provider uses the first:

ProviderTypeEndpoint example
AWS S3s3https://s3.us-east-1.amazonaws.com
Backblaze B2s3https://s3.us-west-001.backblazeb2.com
Google Cloud Storages3https://storage.googleapis.com
DigitalOcean Spacess3https://nyc3.digitaloceanspaces.com
MinIO (self-hosted)s3https://minio.example.com:9000
Cloudflare R2s3https://<account>.r2.cloudflarestorage.com
Any SFTP serversftpsftp://backup.example.com:22

Add a destination under Backup Manager > Destinations, then select it on a policy.

A policy with no destination writes its archives to this server’s own disk and nowhere else. DockPanel says so on the Backup Manager overview rather than leaving you to discover it — see What DockPanel checks for you.

Retention off-site covers site archives only. The prune that enforces a retention count at the destination is keyed on a site’s domain, so remote copies of database and volume backups accumulate there even as their local copies are pruned. Watch the bucket, or prune it on the provider’s own lifecycle rules, until this is resource-agnostic.

Encryption

Encryption covers database dumps, and only those. The agent has no encryption path for a site or volume archive, so ticking Encrypt DB dumps on a policy that also backs up sites or volumes leaves those archives in cleartext both on disk and at the destination. A site archive is the whole webroot — configuration files, and any database credentials in them — and since v2.34.0 it also carries a dump of every database attached to that site. So an encrypted policy covering sites ships an encrypted copy of that data and an unencrypted copy of the same data to the same destination.

When encryption is enabled, for the database dumps it covers:

  • Algorithm: AES-256-CBC with PBKDF2 (100,000 iterations), then an HMAC-SHA256 tag over the ciphertext (encrypt-then-MAC) so a corrupted or tampered backup is rejected before it is ever decrypted, rather than decrypting silently into wrong bytes. The MAC key is derived from the same backup passphrase via a domain-separated HMAC, independent of the key openssl derives for encryption itself. A backup encrypted before this scheme shipped has no tag and is still decrypted, unauthenticated, for backward compatibility.
  • Key management: Keys are stored encrypted in the panel database
  • Encrypted backups have a .enc extension
  • Decryption happens automatically during restore and verification

Health Dashboard

From the panel: Go to Backup Orchestrator to see the health overview.

From the CLI:

dockpanel backup health

The dashboard shows:

  • Backup counts: Site, database, and volume backups with total storage
  • Last 24h: How many scheduled backups succeeded or failed
  • Active policies: Enabled vs total policies
  • Verification rate: Passed vs failed verifications
  • Stale resources: Sites or databases with no backup in over 7 days

Storage Tracking

The Storage History chart shows backup storage growth over the last 30 days. Use it to plan disk capacity.

API Reference

MethodEndpointDescription
GET/api/backup-orchestrator/healthHealth dashboard (admin)
GET/api/backup-orchestrator/policiesList policies
POST/api/backup-orchestrator/policiesCreate a policy
PUT/api/backup-orchestrator/policies/{id}Update a policy
DELETE/api/backup-orchestrator/policies/{id}Delete a policy
POST/api/backup-orchestrator/policies/protect-allCreate “Protect Everything” policy
POST/api/backup-orchestrator/db-backupCreate a database backup
GET/api/backup-orchestrator/db-backupsList database backups
DELETE/api/backup-orchestrator/db-backups/{id}Delete a database backup
POST/api/backup-orchestrator/db-backups/{id}/restoreRestore a database
POST/api/backup-orchestrator/volume-backupCreate a volume backup
GET/api/backup-orchestrator/volume-backupsList volume backups
POST/api/backup-orchestrator/volume-backups/{id}/restoreRestore a volume
POST/api/backup-orchestrator/verifyTrigger verification
GET/api/backup-orchestrator/verificationsList verifications
GET/api/backup-orchestrator/storage-historyStorage growth (30 days)

All endpoints require authentication. Health and storage endpoints require admin access.

Monitoring & Alerting

Monitors

Monitors check whether your services are reachable. DockPanel supports four active monitor types and a passive heartbeat type.

TypeHow it works
HTTPSends a GET request and checks the status code. Follows up to 5 redirects. 30s timeout.
TCPOpens a TCP connection to a host and port. 10s timeout.
PingSends an ICMP ping to a hostname or IP.
KeywordHTTP check that also verifies the response body contains (or does not contain) a specific string.
HeartbeatDead man’s switch – expects periodic pings from your app. If a ping is missed, the monitor goes down.

Creating a Monitor

  1. Go to Monitors in the sidebar
  2. Click Create Monitor
  3. Fill in:
    • Name: A descriptive label (e.g., Production API)
    • URL: The endpoint to check (e.g., https://api.example.com/health)
    • Type: HTTP, TCP, Ping, Keyword, or Heartbeat
    • Check Interval: How often to check, in seconds (default: 60)
    • Port (TCP only): The port number to connect to
    • Keyword (Keyword only): The string to match, and whether it must or must not be present
    • Custom Headers (HTTP/Keyword): Optional JSON object of headers to include in requests
    • Alert Email: Toggle email notifications on down/recovery
    • Slack/Discord URL: Webhook URL for chat notifications
  4. Click Create

From the CLI

dockpanel monitors create --name "My Site" --url https://example.com --interval 300

Monitor Status

Each monitor tracks:

  • Status: up or down
  • Response Time: Milliseconds for the last check
  • Last Status Code: HTTP status code (HTTP/Keyword monitors)
  • Last Checked: Timestamp of the most recent check

Check history is kept for 24 hours and then purged automatically.

Maintenance Windows

When a maintenance window is active for a user, their uptime monitors are skipped and the alert engine stops paging them. CPU, memory, disk, disk forecast, memory leak, server offline, service health, SSL expiry, GPU and container alerts are all held for the duration.

Nothing is lost by holding them. Each describes a standing condition that is re-evaluated every 60 seconds, so anything still true when the window closes fires on the next check. The window is applied before any alert state is recorded, precisely so that a held alert is deferred rather than marked as already sent.

Alerts that report a one-off event are deliberately not suppressed, because nothing would raise them again afterwards: backup failure, backup verification failure, cron failure, security findings, image scan findings, WordPress vulnerability scan findings and SSL renewal failures still arrive during a window.

Heartbeat Monitors (Dead Man’s Switch)

  1. Create a heartbeat monitor in the panel
  2. Copy the unique URL: POST /api/heartbeat/{monitor_id}/{token}
  3. Add a cron job or scheduled task in your application to ping this URL
  4. If the expected interval passes without a ping, the monitor goes down

No authentication is required for heartbeat pings.

Alert Rules

Alert rules define thresholds for server-level conditions. Configure them under Settings > Alert Channels.

Available Alert Types

AlertWhat it watchesDefault threshold
CPUCPU usage exceeds threshold for N minutes90% for 5 min
MemoryMemory usage exceeds threshold for N minutes90% for 5 min
DiskDisk usage exceeds threshold85%
Server OfflineServer stops reporting metrics2 min heartbeat timeout
SSL ExpirySSL certificate approaching expirationWarns at 30, 14, 7, 3, 1 days
Service HealthNginx, PHP-FPM, MySQL, PostgreSQL downChecked every 2 min
Backup FailureA scheduled backup failsImmediate
Container HealthDocker container unhealthy or crash-loopingChecked every 2 min

You can set rules globally (apply to all servers) or per-server to override global defaults.

Cooldown

After an alert fires, it will not fire again for the configured cooldown period (default: 60 minutes). This prevents notification spam during sustained incidents.

Recording and notifying are two different switches

Settings > Notifications > Alert Behaviour gives every alert type two checkboxes. They do different things, and the difference matters:

ColumnSwitched off means
RecordThe alert is never created at all — no alert row, no bell, no status-page incident, and nothing for escalation to page you about.
NotifyThe alert is still recorded and visible in the panel exactly as usual. Only the external send is suppressed: Slack, Discord, PagerDuty and webhooks.

Ten of the twenty alert types have a Record switch: CPU, memory, disk, offline, service, backup, SSL expiry, and the three GPU types — which share a single switch between them. The other ten are always recorded and show a dash in that column; use Notify if you do not want to be paged for one of those.

Switching Record off also stops alerts of that type escalating. Before v2.158.0 it did not: the switch was read only when an alert was first recorded, so a row that was already firing when you switched its type off carried on re-paging every thirty minutes until it aged out of the seven-day escalation window. Switching the type back on resumes paging on the next sweep, without the delay a fresh alert waits out.

Notification Channels

Configure where alerts are sent under Settings > Alert Channels.

ChannelConfiguration
EmailToggle on/off. Uses the SMTP settings from Settings.
SlackPaste a Slack incoming webhook URL.
DiscordPaste a Discord webhook URL.
PagerDutyEnter your PagerDuty Events API v2 integration key.
Generic WebhookAny URL. Receives a JSON POST with alert details.

All webhook URLs are validated against SSRF – internal/private IP addresses are rejected.

Alert Escalation

If a firing alert is not acknowledged within 15 minutes, the alert engine re-sends notifications. Escalation repeats every 30 minutes until the alert is acknowledged or resolved.

If you attach an escalation policy to an alert rule, that chain drives the escalation instead: its first step fires the moment the alert is created, and each later step fires once the alert has gone unacknowledged past that step’s threshold. When the chain runs out, the alert falls back to the same 30-minute cadence above, re-paging the last step’s route – an unacknowledged alert never stops paging on its own.

To stop escalation, go to Alerts and click Acknowledge on the alert.

Alert Lifecycle

An alert moves through three states:

  1. Firing – The condition is active. Notifications are sent.
  2. Acknowledged – A user acknowledged it. Escalation stops.
  3. Resolved – The condition cleared (automatically or manually).

Resolved alerts are purged after 30 days.

Smart Alerting

Response Time Degradation

If an HTTP monitor returns a successful status but the response time exceeds 5000ms, a slow_response warning alert is created. This catches performance degradation before full downtime.

Auto-Incidents

When a monitor goes down, DockPanel automatically creates a managed incident for the public status page. When the monitor recovers, the incident is auto-resolved. Status page subscribers are notified of both transitions.

Disk-Full Forecast

The alert engine tracks disk usage over time. If the trend projects the disk will be full within 48 hours, a warning alert fires – giving you time to act before it becomes critical.

Memory Leak Detection

If memory usage has risen more than 10% over the past hour and is currently above 60%, a memory_leak warning alert fires. This is based on comparing recent 10-minute averages against 20-minute-old averages from the metrics history.

Docker Container Monitoring

Every 2 minutes, the alert engine checks all Docker containers on the server:

  • Unhealthy: Containers with a failing health check trigger an alert.
  • Crash-loop: If the auto-healer restarts a service 3 times in 30 minutes and it keeps failing, it stops retrying and creates an incident.

SSL Certificate Dashboard

The certificate dashboard shows the SSL certificates on your sites with their expiry dates. Certificates expiring within the configured warning window (default: 30, 14, 7, 3, 1 days) trigger alerts.

A status of Unknown means the panel does not know when the certificate expires, not that it is healthy. That happens for certificates installed before v2.139.0 through SSL → Upload certificate, which recorded only that SSL was enabled; re-uploading the certificate records its expiry.

An uploaded certificate must name the site it secures. Since v2.148.0 the upload is refused, before anything is written, if the certificate’s subjectAltName entries (or its Common Name, when it carries no SAN) do not cover the site’s domain — and the refusal tells you which names it does cover. A wildcard counts for exactly one level, so *.example.com covers app.example.com and not app.staging.example.com. Before that check existed, pasting the wrong fullchain.pem installed cleanly: nginx does not compare a certificate against server_name, so the panel showed a padlock and only the browser disagreed, with ERR_CERT_COMMON_NAME_INVALID. The same check refuses a private key pasted into the certificate field — which used to be stored with the certificate’s permissions rather than the key’s, and left the site with no recorded expiry at all.

DockPanel renews only the Let’s Encrypt certificates it issued itself. Its ACME client can produce nothing else, so a certificate from any other issuer — a commercial wildcard, a Cloudflare Origin CA certificate, a corporate PKI — is left alone by the automatic renewal loops, and the Renew button refuses it with the issuer named. Renew those wherever they were issued and upload the replacement. (Before v2.139.0 the weekly security scan replaced them instead, which is why this is stated so plainly.)

Registered certificates (administrators)

A certificate you manage outside the panel — a Cloudflare Origin CA wildcard, a commercial certificate, a corporate PKI — can be registered once, under a name, and then served by any number of Compose stacks whose domain it covers. The pair is kept on that server’s disk beside the panel’s own certificates, never in the database; the page lists what each certificate names, who issued it, when it expires, and which stacks use it. Register a certificate here, then choose Registered certificate and its name when a stack claims a domain.

Three things are checked before anything is written. The private key must belong to the certificate (the check nginx would otherwise make at the first reload after a claim). A key pasted into the certificate field is refused. And at claim time the certificate must actually name the domain — the same subjectAltName rule as the per-site upload, wildcards counting for one level — or the claim is refused with the names it does cover. A certificate cannot be deleted while a stack still names it, and a replacement that stops covering a domain a stack serves is refused before the old pair is overwritten.

The panel does not renew a registered certificate — as with any certificate it did not issue. Its expiry shows on this page with the same status ladder as the rest, and replacing it in place puts the new pair behind every stack that uses it at once.

All certificates on this server (administrators)

Administrators get an All certificates on this server switch. It lists every site’s certificate on the current server together with its owner, and — because the agent scans the host, not the database — the certificates the machine holds that belong to no site at all: DNS-01 wildcards, certificates issued for Docker apps, anything installed by hand. Those appear as Not a site and offer no Renew or Delete control, because both act on a site record and there is none.

This exists because the diagnostics scanner reports findings about the whole host, so an administrator could be told a certificate was expiring and then find it on no screen. If the server’s agent is older than the panel it cannot enumerate certificates, and the page says so rather than presenting a partial list as a complete one.

API Reference

MethodEndpointDescription
GET/api/monitorsList all monitors
POST/api/monitorsCreate a monitor
PUT/api/monitors/{id}Update a monitor
DELETE/api/monitors/{id}Delete a monitor
GET/api/alertsList alerts (filterable by status, alert_type, limit)
GET/api/alerts/summaryAlert counts by status (firing, acknowledged, resolved)
PUT/api/alerts/{id}/acknowledgeAcknowledge an alert
PUT/api/alerts/{id}/resolveManually resolve an alert
GET/api/alert-rulesGet alert rules
PUT/api/alert-rulesCreate or update global alert rules
PUT/api/alert-rules/{server_id}Create or update per-server rules
DELETE/api/alert-rules/{server_id}Remove per-server override

Prometheus Metrics Endpoint

DockPanel can expose its operational metrics in Prometheus exposition format so external Prometheus, VictoriaMetrics, Grafana Agent, or any OpenMetrics-compatible scraper can consume them.

The endpoint is disabled by default and gated by a scrape token. When disabled, the endpoint returns 404 Not Found so a panel with metrics off does not advertise a scrape surface at all.

Enable scraping

  1. Go to Settings → scroll to Prometheus Metrics
  2. Click Enable. A scrape token is generated automatically on first enable.
  3. Copy the token from the banner (it won’t be shown again).
  4. Copy the generated scrape_configs block and paste it into your prometheus.yml.

Rotating the token

Click Rotate to generate a new token. The old token becomes invalid immediately, so update your Prometheus config at the same time. Use this if you suspect the token has leaked or when rotating credentials on a schedule.

Disabling

Click Disable. The existing token remains stored (re-enabling reuses it); only the endpoint stops responding with 200. Scrapers will see 404.

Scrape config

scrape_configs:
  - job_name: 'dockpanel'
    metrics_path: /api/metrics
    scheme: https
    bearer_token: dpms_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    static_configs:
      - targets: ['panel.example.com']

The token may also be sent as a query parameter (?token=...) for tools that can’t inject a bearer header, but the header is strongly preferred because URLs are logged by intermediaries.

Exposed metrics

All metric names are part of DockPanel’s public API and will not be renamed between minor versions. Units follow Prometheus / Node Exporter conventions (_percent, _mb, _celsius, _watts).

System resources (per server)

MetricTypeLabels
dockpanel_cpu_percentgaugeserver_id, server
dockpanel_memory_percentgaugeserver_id, server
dockpanel_disk_percentgaugeserver_id, server

Backed by the 30-second metrics collector; each scrape returns the most recent row per server.

GPU (per server, per GPU)

Emitted only when the server has NVIDIA GPUs and the agent has reported GPU data.

MetricTypeLabels
dockpanel_gpu_utilization_percentgaugeserver_id, server, gpu_index
dockpanel_gpu_vram_used_mbgaugeserver_id, server, gpu_index
dockpanel_gpu_vram_total_mbgaugeserver_id, server, gpu_index
dockpanel_gpu_temperature_celsiusgaugeserver_id, server, gpu_index
dockpanel_gpu_power_draw_wattsgaugeserver_id, server, gpu_index

Temperature and power draw are omitted if the GPU doesn’t report them.

Sites

MetricTypeLabels
dockpanel_site_countgaugestatus

status is typically active or disabled.

Alerts

MetricTypeLabels
dockpanel_alerts_firinggaugeseverity

Emits severity="none" with value 0 when no alerts are firing, so scrapers can reliably write presence-based alert rules like max(dockpanel_alerts_firing) by (severity) > 0.

Build info

MetricTypeLabels
dockpanel_infogauge (always 1)version

Use this to pivot a Grafana dashboard on DockPanel version for upgrade cutovers.

Pre-built Grafana dashboard

A drop-in Grafana dashboard ships in the repo at dashboards/dockpanel-grafana.json. It covers:

  • Header stats — DockPanel version, servers reporting, sites, alerts firing by severity, GPUs reporting
  • CPU / memory / disk timeseries per server (with thresholds at sensible levels)
  • Top servers by CPU and memory (bar gauges)
  • Sites by status (donut)
  • Collapsible GPUs row with utilization, VRAM percentage, temperature, and power draw
  • Alerts firing by severity (stacked bars)

A Server template variable lets you focus on a single host or any subset.

Import

  1. Grafana → Dashboards → New → Import
  2. Upload dockpanel-grafana.json (or paste its contents)
  3. Pick the Prometheus datasource that’s scraping DockPanel and click Import

The dashboard’s UID is dockpanel-fleet so direct links from your runbooks stay stable across re-imports.

Example Grafana queries

If you want to build your own panels alongside the pre-built dashboard:

# CPU across the fleet
avg by (server) (dockpanel_cpu_percent)

# VRAM pressure: % used per GPU
100 * dockpanel_gpu_vram_used_mb / dockpanel_gpu_vram_total_mb

# Firing alert budget
sum(dockpanel_alerts_firing{severity!="none"})

Why the data is 30s stale

Every scrape reads the latest row from the metrics tables written by the 30-second metrics collector. DockPanel does not re-poll agents per scrape — that would make metrics expensive to collect and skew the existing collection cadence used for the dashboard charts. Prometheus default scrape intervals (15-60s) are well within this staleness window.

Troubleshooting

Scraper sees 404 — the endpoint is disabled. Enable it from Settings.

Scraper sees 401 — the bearer token doesn’t match the stored hash. Confirm you copied the whole token (69 characters including dpms_) and that Prometheus is sending it on /api/metrics, not some other path.

No GPU metrics — GPUs only appear after the collector has stored at least one row in gpu_metrics_history. On a fresh install, this takes up to 30 seconds after the agent first reports GPU info.

Sites metric shows 0 — only ingested during a successful scrape; check that the panel’s database has rows in the sites table.

ACME Profiles & Renewal

DockPanel issues and renews certificates via the ACME protocol (RFC 8555) with two 2026-ready extensions enabled by default:

  • Profiles — client picks which certificate “shape” (lifetime, extensions, policies) the CA should issue. Let’s Encrypt exposes classic, tlsserver, shortlived, and tlsclient.
  • ACME Renewal Information (ARI) (RFC 9773) — CA tells the client when to renew instead of the client guessing.

Together they prepare DockPanel for Let’s Encrypt’s staged move to shorter-lived certificates:

DateChange
2026-01-15shortlived profile (~6-day certs) generally available
2026-05-13tlsserver profile switches to 45-day certs (opt-in)
2027-02-10Default classic profile → 64-day with 10-day authz reuse
2028-02-16Default classic profile → 45-day with 7-hour authz reuse

You don’t have to change anything to remain working — classic stays the default until 2027. This guide describes how to opt into the newer profiles when you’re ready.

Picking a default profile

Settings → ACME Profile lists whatever profiles the CA advertises in its server directory, with the descriptions the CA publishes.

Recommendations:

  • classic (DockPanel default) — 90-day certs today, 64-day in Feb 2027, 45-day in Feb 2028. Widest compatibility. Pick this if you’re unsure.
  • tlsserver — same as classic today; becomes 45-day on 2026-05-13. Opt into this when you want to rehearse short-lived renewals before the automatic classic flip in 2028.
  • shortlived — ~6-day (160-hour) certs. Requires renewal every 2-3 days. Use only if you fully trust your automation and want the smallest possible compromise window.
  • tlsclient — legacy, phased out by 2026-07-08. Don’t pick it.

The default applies to new issuances. Existing certificates keep their original profile until renewed. You can override the default per certificate via the site’s SSL panel.

How renewal decides when to run

The auto-healer runs every 120 seconds and does two things:

  1. Refresh ARI. For each SSL-enabled site whose last ARI fetch is older than 6 hours, ask the CA’s /renewalInfo endpoint for a suggested renewal window (ssl_renewal_at and ssl_renewal_before).
  2. Renew when the window opens. If ssl_renewal_at has passed, kick off an ACME order. The previous certificate’s authority-key-identifier and serial are attached as the ARI replaces hint so the CA can correlate the renewal with the original issuance.

When the CA doesn’t advertise ARI (or the fetch fails), DockPanel falls back to a profile-aware threshold:

ProfileFallback: renew when days_remaining ≤
shortlived2
tlsserver15
classic / unknown30

Failed renewals trigger a 6-hour cooldown per domain to avoid rate-limit exhaustion.

Force-renewing a certificate

Certificates page → Renew issues a fresh cert immediately. This calls the agent’s /ssl/{domain}/renew endpoint, which uses the same ACME path as provisioning (the previous hybrid certbot-CLI path was removed in v2.7.17). Force-renew respects the cert’s stored profile — it does not reset to the panel default.

API surface (admin)

GET  /api/ssl/profiles              # list CA-advertised profiles + current default
POST /api/ssl/default-profile       # { "profile": "classic" | "tlsserver" | "shortlived" | null }
POST /api/sites/{id}/ssl?profile=X  # provision with explicit profile (overrides default)
POST /api/ssl/{id}/renew            # force-renew (preserves site's profile)

What’s not done yet

  • DNS-PERSIST-01 — Let’s Encrypt targets a Q2 2026 production rollout. DockPanel will land support after the LE production date is announced and the upstream instant-acme crate exposes a stable API. The current Cloudflare DNS-01 flow continues to work as before.
  • Grafana dashboard JSON for the cert-renewal metrics — planned with the Prometheus endpoint polish pass.

Public Status Page Guide

DockPanel includes a public status page that shows the real-time health of your services. It requires no authentication – anyone with the link can see it. Ideal for keeping users, clients, and team members informed during outages and maintenance.

Enabling the Status Page

  1. Go to Settings > General
  2. Toggle Public Status Page to enabled
  3. The status page is now live at /status on your panel URL

Example: if your panel is at https://panel.example.com, the status page is at https://panel.example.com/status.

When disabled, visiting /status returns a 404. The toggle is off by default, and it is the master switch for the whole public surface — the /status page, the monitor JSON at /api/status-page, and the subscribe/unsubscribe endpoints all refuse until it is on.

Upgrade note (v2.70.0). Before v2.70.0 the sentence above was not true. /status was served by a second endpoint governed by a different flag that defaulted to on, so a panel published its status page from first boot whether or not this toggle had ever been touched. If you have been running DockPanel without deliberately enabling the status page, assume it was reachable, and check what was on it — see What gets published below. After upgrading, /status is closed until you switch it on here.

What gets published

Anyone with the URL and no login sees:

  • every enabled monitor’s name and current status (URLs are not published)
  • your components and their derived status
  • every incident marked visible on the status page, with its updates — each update’s status, message and timestamp, but not the address of whoever posted it

That last item includes incidents DockPanel files for you. The alert engine, the auto-healer, the uptime checker and the backup executor all open status-page-visible incidents automatically, and their titles name your infrastructure — “Service mariadb is stopped on This Server”, “Disk at 53% on This Server”. Review Incidents before switching the page on, and set an incident’s visibility off if it should not be public.

An auto-detected incident also carries a cause — the reason the check failed, such as “error sending request: client error (Connect): Connection refused (os error 111)”. From v2.149.0 that sentence no longer contains the monitored URL. See the upgrade note below if you were running an earlier version.

Upgrade note (v2.149.0) — rotate any credential that was in a monitor URL. The bullet above saying URLs are not published was true of the monitor list and false of incident causes. When an HTTP check failed, DockPanel stored the HTTP client’s own error message, which ends with for url (…) and therefore contained the monitor’s full address — scheme, host, path and query string. That string was published in two places on this page: an auto-detected incident’s cause, and the “Auto-detected: …” entry in an incident’s timeline. A monitor pointed at something like https://api.example.com/health?api_key=… published that token to anyone who loaded /status.

v2.149.0 fixes the writer, and its migration strips the URL out of rows already stored. Neither can un-publish what was already fetched, and neither reaches a backup taken earlier. If any monitor URL contained a token and your status page was on, treat that token as disclosed and rotate it. The exposure needed the master switch above to be on — which, per the v2.70.0 note, may have been true without you switching it on.

One thing the fix deliberately does not remove: when a check fails because of a TLS certificate mismatch, the error names the domains the certificate is valid for. That is a property of the certificate the monitored host presented, not of the URL you configured, and cutting it out would mean pattern-matching the TLS library’s own wording.

Setting Up Components

Components represent the services your users care about (e.g., “Website”, “API”, “Database”, “Email”). Each component shows its current status on the public page.

Create a Component

  1. Go to Status Page > Components
  2. Click Create Component
  3. Fill in:
    • Name: What users see (e.g., “Payment API”)
    • Description: Optional detail (e.g., “Handles all payment processing”)
    • Group: Optional group name for organizing (e.g., “Core Services”)
    • Sort order: Controls display order (lower = higher on page)
    • Linked monitors: Select one or more uptime monitors to auto-determine status
  4. Click Save

Component Status

Each component has one of three statuses:

StatusMeaningHow it’s set
OperationalEverything workingAll linked monitors are “up”
DegradedPartial issuesSome linked monitors are not “up”
Major OutageService downAny linked monitor is “down”

Status is computed automatically from linked monitors. If no monitors are linked, the component defaults to “operational”.

You can also override the status manually by linking an incident to the component. The override clears automatically when the incident is resolved.

Component Groups

Group related components together for a cleaner layout. For example:

Core Services
  - Website ............. Operational
  - API ................. Operational
  - Database ............ Operational

Communication
  - Email ............... Operational
  - Push Notifications .. Degraded

Set the group name when creating or editing a component. Components without a group appear ungrouped at the top.

Overall Status

The page header shows an overall status computed from all components:

OverallCondition
All Systems OperationalEvery component is operational
Partial System OutageAt least one component is degraded
Major System OutageAt least one component has a major outage

This updates in real time as monitors check your services.

Incidents on the Status Page

Active incidents appear prominently at the top of the status page with:

  • Title and severity badge (minor/major/critical/maintenance)
  • Current status (investigating, identified, monitoring, etc.)
  • Full timeline of updates

Resolved incidents move to the Incident History section, which shows incidents from the last N days (configurable, default 90).

Incidents must have Visible on status page enabled to appear. See the Incident Management Guide for details on creating and managing incidents.

Auto-detected incidents from uptime monitors also appear, showing which monitor went down and when it recovered.

Email Subscribers

Visitors can subscribe to status updates by entering their email on the status page. Subscribers receive email notifications when:

  • A new incident is created
  • An incident status changes
  • An update is posted to an incident timeline

Managing Subscribers

Subscribers self-manage through the public subscribe and unsubscribe endpoints. There is no subscriber screen in the admin panel – the list is available over the API only:

curl -H "Authorization: Bearer $TOKEN" \
  https://your-panel/api/status-page/subscribers

Unsubscribe

Subscribers unsubscribe by calling the public endpoint with their address:

curl -X DELETE https://your-panel/api/status-page/unsubscribe \
  -H 'Content-Type: application/json' \
  -d '{"email":"someone@example.com"}'

POST is accepted at the same path and does the same thing.

Note: notification emails do not yet carry a one-click unsubscribe link, so this endpoint is currently the only way off the list. This guide promised such a link until v2.108.0; it was never implemented, and the sentence was removed rather than left standing.

To hide the subscribe form from the public page, disable Show Subscribe in the status page config.

Customizing the Status Page

From the Panel

  1. Go to Status Page > Settings
  2. Configure:
    • Show /status page: Hides the /status page while leaving the monitor JSON up. This is a display preference, not a security control — the master switch in Settings is what decides whether anything is published at all.
    • Title: Page heading (default: “Service Status”)
    • Description: Subtitle text (default: “Current status of our services”)
    • Logo URL: URL to your logo image
    • Accent color: Hex color for the theme (default: #22c55e green)
    • Show subscribe: Show/hide the email subscription form
    • Show incident history: Show/hide the resolved incidents section
    • History days: How many days of resolved incidents to display (default: 90)
  3. Click Save

Via API

curl -X PUT https://panel.example.com/api/status-page/config \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Acme Corp Status",
    "description": "Real-time status of Acme services",
    "accent_color": "#3b82f6",
    "show_subscribe": true,
    "history_days": 30
  }'

Embedding and Linking

Add a “System Status” link in your site footer or navigation pointing to your status page URL:

<a href="https://panel.example.com/status">System Status</a>

Custom Domain

To serve the status page on a custom domain (e.g., status.example.com), set up a reverse proxy or CNAME that points to your panel, and configure your web server to route /status requests.

API Reference

MethodEndpointAuthDescription
GET/api/status-page/publicNoFull public status page data (components, incidents, config)
GET/api/status-page/configAdminGet status page configuration
PUT/api/status-page/configAdminUpdate status page configuration
GET/api/status-page/componentsAdminList components with linked monitors
POST/api/status-page/componentsAdminCreate a component
DELETE/api/status-page/components/{id}AdminDelete a component
POST/api/status-page/subscribeNoSubscribe an email to updates
DELETE or POST/api/status-page/unsubscribeNoUnsubscribe an email
GET/api/status-page/subscribersAdminList all subscribers

The /api/status-page/public endpoint returns everything needed to render the status page: config, components with computed status, active/recent incidents with timelines, and auto-detected monitor incidents.

Incident Management Guide

DockPanel’s incident management gives you a structured way to track outages, communicate with your team, notify subscribers, and produce postmortems. Incidents appear on your Public Status Page automatically.

Incident Lifecycle

Every incident moves through a defined lifecycle:

investigating --> identified --> monitoring --> resolved --> postmortem
StatusMeaning
investigatingSomething is wrong, you’re looking into it
identifiedRoot cause found, working on a fix
monitoringFix deployed, watching for recurrence
resolvedIncident is over, service restored
postmortemPost-incident review in progress

Severity Levels

SeverityUse when
minorSmall degradation, most users unaffected
majorSignificant impact, core functionality impaired
criticalFull outage, service completely unavailable
maintenancePlanned work, not an actual outage

Creating an Incident

From the Panel

  1. Go to Monitoring in the sidebar, then the Status Page tab
  2. Click Create Incident
  3. Fill in:
    • Title: Short description (e.g., “API response times elevated”)
    • Severity: minor, major, critical, or maintenance
    • Description: What users are experiencing
    • Affected components: Select which status page components are impacted
    • Visible on status page: Toggle on to show publicly (default: on)
  4. Click Create

An initial timeline entry is created automatically, and email subscribers are notified.

Auto-Created Incidents

When a monitor detects downtime, DockPanel creates an auto-incident automatically. These appear on the status page alongside manually created incidents. When the monitor recovers, the auto-incident is resolved.

Incident Timeline and Updates

The timeline is a chronological log of everything that happened during an incident. Each update records the status at that moment, a message, and who posted it.

Post an Update

  1. Open the incident
  2. Click Post Update
  3. Select the new status (e.g., “identified”)
  4. Write a message (e.g., “Root cause is a failed database migration. Rolling back now.”)
  5. Click Post

The incident status changes, the update appears in the timeline, and subscribers are notified by email.

You can post as many updates as needed. Each one is timestamped and attributed to the author.

Example Timeline

14:02 UTC [investigating] API response times elevated across all endpoints.
14:15 UTC [identified]    Root cause: database connection pool exhausted after deploy.
14:22 UTC [monitoring]    Connection pool increased, deploying fix now.
14:35 UTC [resolved]      Service fully restored. Response times normal.

Affected Components

Components are status page entries that represent your services (e.g., “API”, “Website”, “Database”). Linking an incident to components:

  • Marks those components as degraded or down on the status page
  • Automatically clears the override when the incident is resolved

When creating or editing an incident, select one or more components from the dropdown. You can manage components under Status Page > Components.

Postmortem

When you move an incident to the postmortem status, DockPanel auto-generates a template pre-populated with your timeline:

## Incident Postmortem

### Summary
[Describe the incident]

### Timeline
- **14:02 UTC** [investigating]: API response times elevated
- **14:15 UTC** [identified]: Database connection pool exhausted
- **14:22 UTC** [monitoring]: Deploying fix
- **14:35 UTC** [resolved]: Service fully restored

### Root Cause
[What caused this?]

### Resolution
[How was it fixed?]

### Action Items
- [ ]

Edit the template to fill in root cause, resolution, and action items. Toggle Publish postmortem to make it visible on the public status page.

Email Subscribers

Subscribers receive email notifications for:

  • New incidents created
  • Status changes (investigating -> identified -> resolved, etc.)
  • Update messages posted to the timeline

Notifications are sent through your configured SMTP settings (see Settings > Email). If SMTP is not configured, subscriber notifications are silently skipped.

Subscribers sign up on the public status page (if the subscribe option is enabled) and remove themselves through the public unsubscribe endpoint. There is no subscriber screen in the admin panel; the list is readable over the API at GET /api/status-page/subscribers.

How Incidents Appear on the Status Page

Active incidents (any status except resolved) appear at the top of the public status page with their severity badge and latest update. Resolved incidents appear in the incident history section for the configured number of days (default: 90).

Incidents marked as not visible on status page are hidden from public view but still tracked internally.

API Reference

MethodEndpointDescription
GET/api/incidentsList incidents (supports ?status= filter)
POST/api/incidentsCreate an incident
GET/api/incidents/{id}Get incident with timeline and components
PUT/api/incidents/{id}Update incident (status, severity, postmortem)
DELETE/api/incidents/{id}Delete an incident
POST/api/incidents/{id}/updatesPost a timeline update
GET/api/incidents/{id}/updatesList timeline updates

Create Incident Example

curl -X POST https://panel.example.com/api/incidents \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Database connectivity issues",
    "severity": "major",
    "description": "Users experiencing timeouts on write operations",
    "component_ids": ["uuid-of-api-component"],
    "visible_on_status_page": true
  }'

Post Update Example

curl -X POST https://panel.example.com/api/incidents/INCIDENT_ID/updates \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "status": "identified",
    "message": "Root cause identified: disk full on primary database server"
  }'

Resolve an Incident

curl -X POST https://panel.example.com/api/incidents/INCIDENT_ID/updates \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "status": "resolved",
    "message": "Disk space freed, database connections restored"
  }'

When an incident is resolved via the API, linked alerts are auto-resolved and component status overrides are cleared.

Secrets Manager Guide

The Secrets Manager provides encrypted storage for sensitive configuration values like API keys, database passwords, and tokens. Secrets are encrypted with AES-256-GCM and organized into vaults.

Concepts

  • Vault: A named collection of secrets (e.g., production, staging)
  • Secret: A key-value pair stored encrypted (e.g., DATABASE_URL=postgres://...)
  • Version history: Every update creates a new version; previous versions are retained
  • Injection: Write a vault’s auto-inject secrets into a site’s environment

Create a Vault

From the Panel

  1. Go to Secrets in the sidebar
  2. Click New Vault
  3. Enter a name (e.g., production)
  4. Click Create

Note: vaults and secrets are managed from the panel or the HTTP API. The dockpanel CLI has no secrets subcommand.

Add Secrets

From the Panel

  1. Open a vault
  2. Click Add Secret
  3. Enter the key and value
  4. Click Save

The value is encrypted immediately and never stored in plaintext.

From the API

curl -X POST -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"key":"DATABASE_URL","value":"postgres://user:pass@host/db","auto_inject":true}' \
  https://panel.example.com/api/secrets/vaults/{vault_id}/secrets

View and Update Secrets

  • Secret values are masked by default in the UI and API
  • Click Reveal to temporarily show a value
  • Edit a secret to create a new version (the old version is retained)

Version History

  1. Open a secret
  2. Click History
  3. View the change log: version number, who changed it, the kind of change, and when

History is an audit trail, not a recovery feature. Previous values are not returned by the API, and there is no roll-back endpoint – to restore an old value you must know it and set it again.

Inject Secrets into a Site

Write a vault’s auto-inject secrets into a site’s environment.

POST /api/secrets/vaults/{vault_id}/inject/{site_id}

What it does, precisely:

  • Only secrets flagged auto-inject are written. If a vault has none, the call returns 400 No auto-inject secrets in this vault.
  • The target is a site, not a container, and the host is resolved from the site’s own row – not from the caller’s selection.
  • The values are written to that site’s nginx environment. Nothing is restarted; the new values apply the next time the site’s processes are started.

Pull Secrets (CI/CD)

Use the pull endpoint in your CI/CD pipeline to fetch secrets at deploy time:

curl -H "Authorization: Bearer $TOKEN" \
  https://panel.example.com/api/secrets/vaults/{vault_id}/pull \
  -o .env

Export and Import

Export a Vault

curl -H "Authorization: Bearer $TOKEN" \
  https://panel.example.com/api/secrets/vaults/{vault_id}/export \
  -o production-secrets.json

The exported file contains encrypted values. Store it securely.

Import a Vault

curl -X POST -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  --data-binary @production-secrets.json \
  https://panel.example.com/api/secrets/vaults/{vault_id}/import

Auto-Inject

Auto-inject marks which secrets take part in an injection. It is a flag on the individual secret, not a vault-level setting, and it selects no targets of its own:

  1. Open a vault
  2. Create or edit a secret
  3. Tick Auto-inject

Flagged secrets are the ones written by POST /api/secrets/vaults/{vault_id}/inject/{site_id}, and they are also picked up when a site is deployed with a vault attached.

Changing a secret does not push it anywhere by itself, and nothing is restarted automatically – re-run the injection, or deploy, for a new value to take effect.

API Reference

See the Secrets Manager API for all endpoints.

Webhook Gateway Guide

The Webhook Gateway lets you receive, inspect, route, and replay incoming webhooks from external services like GitHub, Stripe, or any HTTP sender.

Concepts

  • Endpoint: A unique URL that receives incoming webhooks (e.g., /api/webhooks/gateway/abc123…)
  • Delivery: Each received webhook is logged as a delivery with headers, body, and status
  • Route: A rule that forwards matching deliveries to a target URL
  • HMAC Verification: Optional signature verification to ensure webhooks are authentic

Create an Endpoint

From the Panel

  1. Go to Webhook Gateway in the sidebar
  2. Click New Endpoint
  3. Configure:
    • Name: Descriptive label (e.g., “GitHub Deploys”)
    • HMAC Algorithm: None, SHA-256 or SHA-1. Verification as a whole is optional.
    • HMAC Secret: The shared secret. Required once you pick an algorithm.
    • HMAC Header: The header containing the signature (e.g., X-Hub-Signature-256). Required once you pick an algorithm.
  4. Click Create

An endpoint’s verification settings cannot be edited afterwards — to change them, delete the endpoint and create it again. That is why choosing an algorithm and leaving the secret or the header empty is refused at creation rather than accepted and repaired later.

You get a unique URL like https://panel.example.com/api/webhooks/gateway/abc123…, shown on the Webhook Gateway page once the endpoint is selected. Copy it from there and give it to the external service as their webhook destination. The path carries the endpoint’s token, so treat the URL itself as the secret.

View Deliveries

  1. Open an endpoint
  2. The Deliveries tab shows every received webhook:
    • Timestamp
    • HTTP method and headers
    • Request body
    • Verification status (passed/failed/skipped)
    • Routing status (forwarded/filtered/failed)

Click any delivery to inspect the full request and response details.

Create Routes

Routes forward incoming webhooks to target URLs based on optional JSON filters.

  1. Open an endpoint
  2. Go to the Routes tab
  3. Click Add Route
  4. Configure:
    • Target URL: Where to forward the webhook (e.g., https://ci.example.com/deploy). Must be a public address — internal/private targets (localhost, 127.0.0.1, 10.x, 169.254.x, …) are rejected as SSRF.
    • JSON Filter: Optional JSONPath expression to match specific payloads
    • Headers: Optional extra headers to include in the forwarded request
  5. Click Save

JSON Filtering Examples

Forward only push events to the main branch:

$.ref == "refs/heads/main"

Forward only Stripe payment events:

$.type == "payment_intent.succeeded"

If no filter is set, all deliveries are forwarded.

Pause an Endpoint or a Route

Both the endpoints table and the routes table carry a Status column and a Pause / Resume button.

  • Pausing an endpoint makes its public URL stop accepting deliveries. The sender gets a 404 as though the endpoint did not exist. Everything already recorded — deliveries, routes, counters — is kept.
  • Pausing a route stops that one destination receiving forwarded deliveries, and leaves the rest of the endpoint’s routes working.

Pause is the control to reach for when a sender misbehaves or a destination is down. Deleting an endpoint also stops it, but it removes every delivery and every route recorded against it — so it destroys the history you would need in order to work out what went wrong.

Replay Deliveries

If a delivery failed or you need to re-process it:

  1. Find the delivery in the Request Inspector tab
  2. Click Replay on its row
  3. The delivery is re-sent to every enabled route whose filter matches it — the same routes the original delivery went to, and no others

This is useful for debugging or recovering from temporary downstream failures.

HMAC Verification

When HMAC verification is configured:

  1. DockPanel computes the HMAC signature of the request body using the shared secret
  2. Compares it against the value in the configured header
  3. Marks the delivery as verified or failed

Failed verifications are logged but not forwarded (unless you explicitly replay them). Replaying one is a deliberate act — the panel asks you to confirm first, because the payload was never vouched for and replaying it sends it onward with each route’s stored headers attached. The usual innocent cause is a sender configured with the wrong secret; an endpoint’s own secret cannot be edited after creation, so re-verifying would reach the same verdict.

An endpoint that names an algorithm but holds no usable secret verifies nothing, so every delivery to it is rejected, logged as failed, and not forwarded. The endpoint list marks such an endpoint no secret — rejecting. Endpoints created before v2.127.0 could reach that state; delete and recreate one to repair it.

The shared secret is never sent back to the browser. The endpoint list reports only whether a secret is present.

Provider-Specific Setup

ProviderHeaderAlgorithm
GitHubX-Hub-Signature-256SHA-256
StripeStripe-SignatureSHA-256 (with timestamp)
GitLabX-Gitlab-TokenToken comparison
SlackX-Slack-SignatureSHA-256

API Reference

See the Webhook Gateway API for all endpoints.

Notifications Guide

DockPanel keeps an in-app notification feed — the bell in the panel chrome and the Notifications screen behind it. Notifications arrive in real time over Server-Sent Events (SSE), carry a link to whatever they are about, and can be filtered, marked read and deleted.

The feed is separate from external delivery (email, Slack, Discord, PagerDuty). Anything the panel raises appears in the feed whether or not you have configured an external channel; see Alerts & Monitoring for the external side.

What raises a notification

Each notification carries a category, which is what the filter row on the Notifications screen is built from. The categories the panel raises today:

CategoryRaised when
alertA threshold alert fires or resolves — disk, CPU, memory, a server going offline, a service stopping, a container crash-looping
monitorAn uptime monitor goes down, comes back up, or misses a heartbeat
securityA login from an address not seen before, a canary file being touched, an emergency lockdown, a password reset, a completed security scan
deployA deploy finishes, fails, or succeeds while the site answers 5xx; a Git deploy, rollback or auto-rollback
siteA site is created, deleted, renamed, enabled or disabled, or its cache/WAF settings change
incidentAn incident is created or resolved
backupSites go 48 hours or more without a backup
sslA certificate is renewed automatically
auto_healThe auto-healer restarts a service, exhausts its retries, or reclaims disk
systemA container is put to sleep for being idle

Every category above is raised by the panel itself. Nothing needs configuring for the feed to work.

Reading notifications

The bell shows how many are unread. It saturates at 99+; hover it to read the exact count. Clicking it opens the Notifications screen.

On that screen:

  • A notification’s title is a link when the panel knows where the event happened — a failed deploy opens the site, a firing alert opens the Alerts tab, a canary trip opens the security audit log. Following the link marks the notification read. Notifications with nowhere sensible to go — a site deleted, whose subject no longer exists — render as plain text.
  • Filter by unread, or by any category the feed actually contains. The filter row is built from your own notifications, so a category appears there the first time it is raised.
  • Mark all read clears the unread count, and the bell updates immediately.
  • Delete removes a single notification; Clear read removes every notification you have already read and never touches an unread one.
  • Load older pages back through the feed 50 at a time.

New notifications appear at the top of the list as they happen, without a refresh — the screen is on the same SSE stream as the bell.

Retention

Notifications are deleted after retention_notification_days (default 30). This is a database setting with no screen; it applies to read and unread alike, so treat the feed as a 30-day window rather than an archive. The permanent record of a security event is the audit log under Security > Audit, which is never pruned.

Notification preferences

The in-panel feed has no per-type preferences — every notification the panel raises appears in it.

What is configurable is which alert types are sent to your external channels (email, Slack, Discord, PagerDuty): see Settings > Alert Channels > Suppress External Notifications. Suppressing a type there still records it in the panel feed.

API Reference

See the Notifications API for all endpoints.

SSE Stream

Connect to the real-time notification stream:

curl -N -H "Authorization: Bearer $TOKEN" \
  https://panel.example.com/api/notifications/stream

Each event’s data: is the complete notification object — id, title, message, severity, category, link, read_at and created_at — so a client can render an arriving notification without asking for it again.

Security Hardening

Security Scanner

DockPanel runs a full security scan automatically every 7 days. You can also trigger a scan manually from Security > Run Scan or via the API.

The scanner checks the server through the agent and reports findings in three severity levels:

  • Critical – Immediate action required (e.g., world-writable config files, exposed credentials)
  • Warning – Should be fixed (e.g., SSH password auth enabled, missing firewall)
  • Info – Informational (e.g., SSH on default port, non-critical suggestions)

Each finding includes a title, description, affected file path (if applicable), and a remediation suggestion.

File Integrity Monitoring

During each scan, the agent computes SHA-256 hashes of critical system files. These hashes are stored as baselines in the file_integrity_baselines table. On subsequent scans, if a file’s hash has changed, a security finding is created to flag the modification. This detects unauthorized changes to system binaries, config files, or web application code.

Security Score

The security score is calculated as:

Score = 100 - (critical_findings * 20) - (warning_findings * 5)

A score of 100 means no findings. The score is shown on the Security page and in the downloadable compliance report.

Firewall (UFW)

DockPanel manages the server firewall through UFW.

View firewall status

Go to Security > Firewall to see all rules and whether UFW is active.

Add a rule

  1. Go to Security > Firewall
  2. Click Add Rule
  3. Enter:
    • Port: The port number (1-65535)
    • Protocol: tcp, udp, or tcp/udp
    • Action: allow, deny, or reject
    • From (optional): Restrict to a specific IP or CIDR range
  4. Click Add

When you create a site, DockPanel automatically configures firewall rules for ports 80 and 443. Docker container proxy ports are blocked from external access by default.

Delete a rule

Click the delete icon next to any rule in the list, or use the API:

curl -X DELETE https://panel.example.com/api/security/firewall/rules/RULE_NUMBER \
  -H "Cookie: dp_token=YOUR_TOKEN"

From the CLI

dockpanel security firewall list
dockpanel security firewall allow 8080/tcp
dockpanel security firewall deny 3306/tcp from 0.0.0.0/0

Fail2Ban

Fail2Ban monitors log files for repeated authentication failures and bans offending IPs.

Status

Go to Security > Fail2Ban to see running jails, banned IPs, and ban counts.

Panel Login Jail

DockPanel can create a dedicated Fail2Ban jail that monitors the panel’s own login endpoint. Set it up from Security > Panel Jail > Setup.

Manual Ban / Unban

From the panel or API, you can manually ban or unban an IP in any jail:

# Ban an IP
curl -X POST https://panel.example.com/api/security/fail2ban/ban \
  -H "Cookie: dp_token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"ip": "1.2.3.4", "jail": "sshd"}'

# Unban an IP
curl -X POST https://panel.example.com/api/security/fail2ban/unban \
  -H "Cookie: dp_token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"ip": "1.2.3.4", "jail": "sshd"}'

List Banned IPs

curl -s https://panel.example.com/api/security/fail2ban/sshd/banned \
  -H "Cookie: dp_token=YOUR_TOKEN"

Two-Factor Authentication (2FA)

DockPanel supports TOTP-based 2FA using any authenticator app (Google Authenticator, Authy, 1Password, etc.).

Enable 2FA

  1. Go to My Account (every role has it; administrators can also use Settings > Account)
  2. Click Enable 2FA
  3. Scan the QR code with your authenticator app
  4. Enter the 6-digit code from the app to confirm
  5. Save your recovery codes – they are shown once and cannot be retrieved later

When 2FA is enabled, login requires your password followed by a TOTP code. The temporary token for the 2FA step expires after 5 minutes. Failed 2FA attempts are rate-limited to 5 per 5 minutes, on every route that checks a 2FA code – signing in, disabling 2FA, and issuing new recovery codes.

Upgrading from a release before v2.84.0? Two fixes in this area change what you should do. Enrolments made before v2.83.0 never displayed their recovery codes (the panel generated them and stored them, but the block that draws them was never reached), so if you enrolled before then, you are holding ten codes you have never seen. Separately, codes issued before v2.84.0 are half their current width. Either way the repair is the same: open My Account and click New recovery codes while you still have your authenticator. It does not disturb your enrolment. Until v2.84.0 the disable route was also not rate-limited.

Recovery Codes

If you lose access to your authenticator app, use a recovery code – to log in, and also to turn 2FA off or to issue a fresh set. Each code can only be used once, and you receive 10 when enabling 2FA.

How many are left is shown on the 2FA card, and the panel warns you when the set runs low or reaches zero. Before v2.84.0 the count was never surfaced anywhere, so an account could spend its last code without knowing.

Issuing a new set. Click New recovery codes on the 2FA card and confirm with a TOTP code or one of your remaining recovery codes. The previous set stops working immediately. Use this if you are running low, if you think a code has been seen by someone else, or if you enrolled before v2.83.0 and never received a readable set.

How they are stored. Recovery codes are hashed with SHA-256 before being written, so the plaintext is not in the database. SHA-256 is a fast hash, which means the width of the code is what actually protects it: from v2.84.0 codes are 16 hex characters (64 bits), which is not searchable. Codes issued before v2.84.0 were 8 characters (32 bits) – small enough that anyone holding a copy of the users table, or an old backup, could recover them by exhaustive search. Those codes still work, and that is the second reason to reissue a set: it replaces short codes with long ones. Note that this is not the protection applied to your password, which is Argon2 with a per-user salt.

Enforce 2FA

Admins can turn on the enforce_2fa setting. This currently warns rather than refuses: every user without 2FA sees a persistent banner asking them to enrol, and the login itself still succeeds. Refusing the login outright is deliberately not implemented, because several kinds of account have no second way in (OAuth-provisioned accounts with no password, the bootstrap administrator, non-browser callers), and a refusal they cannot satisfy is a lockout rather than a safeguard.

Disable 2FA

Go to My Account > Two-Factor Authentication > Disable 2FA. Confirm with a TOTP code or one of your recovery codes – accepting only a live TOTP code (the behaviour before v2.83.0) meant a lost authenticator could never be repaired by its owner.

If a user has lost everything

An administrator can clear another user’s 2FA from Users – the shield icon on that user’s row, which appears only for accounts that actually have an enrolment. It erases the enrolment and any remaining recovery codes, and signs out every session that user holds; they can then sign in with their password and enrol a new device. It is recorded in the activity log as user.reset_2fa.

Two limits worth knowing before you rely on it:

  • You cannot reset your own 2FA this way. The route refuses it, because doing so would remove the factor without anyone presenting a code – exactly what the disable flow exists to prevent. Use My Account with a TOTP or recovery code.
  • It does not remove passkeys, which sign in on their own without the 2FA step. It is a repair for a locked-out account, not an eviction tool: if you are responding to a compromise, review that account’s passkeys and sessions as well.
  • A sole administrator who has lost both their authenticator and their recovery codes cannot be recovered through the panel, because there is no second administrator to perform the reset. Guard against this in advance: register a passkey (passkey sign-in does not require the 2FA step), keep a second administrator account, or keep your recovery codes somewhere you will still have them. Otherwise the only route back is clearing totp_enabled, totp_secret and recovery_codes for that row directly in PostgreSQL.

Adding a passkey asks you to confirm who you are

Since v2.85.0, adding a passkey requires you to re-present a credential you already hold — your current password, a code from your authenticator, or one of your recovery codes. Any one of them is enough, deliberately: an administrator who has lost their authenticator still knows their password, and the bullet above tells that person to register a passkey. A door that demanded a TOTP code would refuse them at exactly the moment they need it.

The reason for the prompt is that a passkey is the only credential this panel mints that survives every reset it offers. Clearing a user’s 2FA, resetting their password and signing out all of their sessions leave an enrolled passkey working, and passkey sign-in does not take the 2FA step. So if someone reaches an open session — a shared machine, a stolen cookie — enrolling a passkey would convert that moment into permanent access. Confirming a credential closes that, because a session hijacker holds the session and nothing else.

Two consequences worth knowing:

  • An account that signs in only through an identity provider (Google, GitHub) has no password to confirm and may have no authenticator. It is asked to sign in again with its provider if its session is more than five minutes old, and is not prompted at all if it has just signed in. This is a weaker check than a password and is not equivalent to one; it bounds a session replayed from another machine, not a script running on the panel’s own origin.
  • You are notified when a passkey is added to your account, in the panel’s notification centre, and passkeys now appear in Export my data. If a passkey you do not recognise appears, remove it in My Account and change your password.

Removing a passkey is not guarded, and deliberately so: the person who has lost the authenticator holding it is exactly the person who needs to remove it, and a passkey is never an account’s only way in — the password and identity-provider doors remain.

A passkey that verifies you is held to that on every login

Since v2.199.0, My Account marks each passkey Verified or Possession-only. A security key can satisfy WebAuthn’s user-presence requirement (a touch) without ever confirming who is touching it — no PIN, no fingerprint, no face. The panel now records, at the moment a passkey is registered, whether its authenticator actually performed that stronger check, and if it did, every future login with that same passkey is required to perform it again. A passkey that has never demonstrated verification — including every passkey registered before this release — keeps working exactly as before: presence alone is enough, same as always.

Nothing already enrolled is affected. This is a property of a specific credential, not an account-wide switch: two passkeys on the same account can carry different badges. If a security key you rely on shows Possession-only and you want the stronger guarantee, remove it and register it again with a PIN or biometric enabled on the device — the new registration will record verification and your future logins with it will require it.

IP Whitelist

Restrict panel access to specific IP addresses. When configured, login attempts from non-whitelisted IPs are rejected before password validation.

The allowlist covers every way of signing in — password, passkey, the OAuth callback, and the second step of a 2FA login. Before v2.47.0 it guarded the password form alone, so an operator who restricted the panel by IP still had the passkey and SSO paths answering from anywhere. If you set an allowlist on an earlier release, re-check it after upgrading: it is now enforced on doors that previously ignored it.

Set Panel IP Allowlist in Settings > Account > Security Hardening to a comma-separated list of IPs or CIDR ranges (203.0.113.4, 10.0.0.0/8, 2001:db8::/32). Leave it empty to allow all IPs. Entries are validated on save, so a malformed range is rejected rather than stored.

The check reads the client address from the X-Real-IP header. If your reverse proxy does not set it, a non-empty allowlist rejects every login, including yours — the check fails closed on purpose, since an allowlist that cannot identify the caller must not admit them. Confirm logins work from an allowlisted address before you rely on it. To recover from a lockout, clear the value directly in the database:

DELETE FROM settings WHERE key = 'allowed_panel_ips';

Locked out by “Email not verified”

Sign-in is refused with “Email not verified. Check your inbox.” when an account is unverified and an SMTP host is set in Settings. The check is on the setting being present, not on the mail actually working — so a half-finished or wrong SMTP configuration arms the gate just as effectively as a working one.

Before v2.90.0 this could lock out the very first administrator. The account created by the initial setup screen was stored unverified and, because it never registered, it never held a verification token — so the verification link could not be resent, it could not be generated at all, and the password-reset route needed the same broken mail. From v2.90.0 the setup screen marks that account verified when it creates it, and upgrading also releases any existing account that is unverified and holds no token.

To clear it on a running panel, as an administrator: Security > Approvals, find the account under Accounts blocked by email verification, and press Mark verified. Rows marked no link exists cannot verify themselves by any means; rows marked link outstanding still have a live link that a working SMTP would deliver.

If no administrator can sign in at all, clear it directly in the database:

UPDATE users SET email_verified = TRUE WHERE email = 'you@example.com';

SSH Hardening

From Security, you can apply SSH hardening with one click:

  • Disable password authentication – Force key-based login only
  • Disable root login – Prevent direct root SSH access
  • Change SSH port – Move SSH to a non-standard port

Each action is logged in the activity log. Ensure you have an SSH key configured before disabling password auth, or you will be locked out.

Login Audit

Security > Login Audit shows recent login attempts for both the panel and SSH:

  • Panel logins: Successful and failed attempts with IP, timestamp, and user agent
  • SSH logins: Parsed from auth.log on the server by the agent

Auto-Fix

Two screens offer a one-click Fix, and they remediate different things. Each list below is the complete set — a finding without a Fix button is one neither screen can act on, and it will tell you what to do instead rather than offering a button that cannot work.

Security > Scan fixes findings about the machine’s own posture:

  • Blocking an unexpected open port
  • Disabling SSH password authentication
  • Disabling SSH root login
  • Quarantining or deleting a file the malware scan flagged

System > Diagnostics fixes findings about the panel’s own housekeeping:

  • Restarting a service that is installed but not running
  • Creating a site’s document root when it is missing
  • Clearing rotated logs, /tmp, or a site’s FastCGI cache
  • Reclaiming unmanaged Docker images, containers and build cache
  • Renewing an expiring SSL certificate. This one is applied by the panel rather than by the agent, because renewal needs the site’s runtime, document root, PHP version and ACME contact — all of which live in the panel’s database. A certificate under /etc/dockpanel/ssl with no matching site (a DNS-01 wildcard, or one installed by hand) is not renewable here, and the panel says so rather than failing: whatever installed it is what renews it.

Each fix is logged in the activity log with the fix type and target.

Compliance Report

Go to Security > Download Report to generate an HTML compliance report. The report includes:

  • Security score with color-coded rating
  • Infrastructure status (firewall, Fail2Ban, SSH configuration, SSL certificates)
  • Scan summary (total, critical, warning findings)
  • Detailed findings table with severity, description, and remediation steps

The report is styled for printing and can be shared with auditors.

GDPR Data Export

Users can export all their personal data stored in DockPanel:

curl -s https://panel.example.com/api/auth/export-my-data \
  -H "Cookie: dp_token=YOUR_TOKEN" | jq

The export includes account details (email, role, 2FA status), site list, recent activity log entries, and active sessions with IP addresses.

Session Management

See the Session Management guide for details on viewing, revoking, and managing active sessions.

API Reference

MethodEndpointDescription
GET/api/security/overviewSecurity overview (firewall, Fail2Ban, SSH status)
GET/api/security/firewallFirewall status and rules
POST/api/security/firewall/rulesAdd a firewall rule
DELETE/api/security/firewall/rules/{number}Delete a firewall rule
GET/api/security/fail2banFail2Ban status
GET/api/security/fail2ban/{jail}/bannedList banned IPs for a jail
POST/api/security/fail2ban/banManually ban an IP
POST/api/security/fail2ban/unbanUnban an IP
POST/api/security/panel-jail/setupCreate the panel login jail
GET/api/security/panel-jail/statusCheck panel jail status
POST/api/security/scanTrigger a security scan (admin)
GET/api/security/scansList past scans
GET/api/security/scans/{id}/findingsGet findings for a scan
POST/api/security/fixApply a security fix
GET/api/security/reportDownload HTML compliance report
GET/api/security/login-auditRecent login attempts
POST/api/auth/2fa/setupGenerate TOTP secret and QR code
POST/api/auth/2fa/enableVerify code and enable 2FA
POST/api/auth/2fa/verifyComplete login with TOTP code
POST/api/auth/2fa/disableDisable 2FA (TOTP or recovery code)
POST/api/auth/2fa/recovery-codesIssue a fresh set of recovery codes
GET/api/auth/2fa/status2FA state, enforcement flag, recovery codes remaining
POST/api/users/{id}/reset-2faAdmin: clear another user’s 2FA enrolment
GET/api/auth/export-my-dataGDPR data export
POST/api/security/ssh/disable-passwordDisable SSH password auth
POST/api/security/ssh/enable-passwordEnable SSH password auth
POST/api/security/ssh/disable-rootDisable SSH root login
POST/api/security/ssh/change-portChange SSH port
GET/api/security/lockdownGet lockdown status
POST/api/security/lockdown/activateActivate system lockdown
POST/api/security/lockdown/deactivateDeactivate lockdown
POST/api/security/panicEmergency panic button
POST/api/security/forensic-snapshotCapture forensic system state
GET/api/security/audit-logQuery immutable audit log
GET/api/security/recordingsList terminal recordings
GET/api/security/pending-usersList users awaiting approval
POST/api/security/users/{id}/approveApprove a pending user

Advanced Security Features

System Lockdown

Lockdown mode blocks all non-admin access. When active:

  • Terminal sessions are disabled
  • Registration is blocked
  • Non-admin users cannot login

Activate from Security > Lockdown tab, or via the API. Lockdown auto-expires after 24 hours.

Panic Button

The panic button performs an emergency lockdown: kills all active terminal sessions, blocks non-admin access, and disables registration. Available in Security > Lockdown tab.

Immutable Audit Log

Security events, and every destructive or privilege-sensitive action across the panel — deleting a site, server, or user; promoting or demoting a reseller; resetting another user’s password or 2FA; rotating a secret, API key, or server token; disabling SSH password auth; transferring a site — are written to the security_audit_log table, and a PostgreSQL trigger rejects UPDATE and DELETE on it. That trigger is the guarantee — it is what makes the record in the database immutable, and it is what the panel reads. This is deliberately broader than the general activity log (Sites and other pages’ own activity views, backed by the mutable activity_logs table): a compromised admin account or a malicious insider with panel access can edit or delete an activity_logs row, but not a security_audit_log one.

Every event is also appended to a dated file on disk at /var/lib/dockpanel/audit/, as a convenience copy for host-level forensics and log shipping. What this does not do, stated plainly: those files are written in append mode, but nothing sets a kernel append-only attribute on them, so a process that can write the directory can still rewrite one in place. Treat the on-disk copies as a convenience, not as evidence — the database is the authoritative record. Nothing in DockPanel reads these files back; they are for you and your own tooling.

If you want kernel-enforced protection on the on-disk copies, apply it to the files, not the directory:

chattr +a /var/lib/dockpanel/audit/*.log     # new files each day need it again

Setting it on the directory instead is a common mistake and does not do what it looks like: it blocks deleting and renaming the logs while still allowing any of them to be truncated and rewritten. It also blocks DockPanel’s own 365-day retention sweep, which cannot unlink under that attribute even as root — the panel logs a warning naming the directory when that happens. Either attribute can be cleared by root (chattr -a), so neither defends against an attacker who already has it.

View the log in Security > Lockdown tab (Audit Log section).

Terminal Session Recording

Terminal sessions are recorded in asciicast v2 format while Terminal Session Recording is on in Settings > Account > Security Hardening. Recordings are stored at /var/lib/dockpanel/recordings/ and listed in Security > Recordings tab. Retention: 30 days.

The panel decides per session and tells the agent inside the signed connection ticket, so a user cannot opt their own session out. Turning the toggle off stops new recordings; it does not delete existing ones. Fleet members running an agent older than v2.46.0 ignore the setting and keep recording — update the agent for the toggle to take effect there.

Geo-IP Login Alerts

When enabled, DockPanel alerts admins when a login or registration occurs from a new IP address, especially from VPN, proxy, or datacenter IPs. Configure in Settings > Account > Security Hardening section.

Registration Approval Mode

When enabled, new user registrations require admin approval before the user can login. Pending users appear in Security > Approvals tab. Enable in Settings > Account > Security Hardening.

Auto-Lockdown

If the system detects a configurable number of suspicious events within a time window (default: 5 events in 10 minutes), lockdown activates automatically. Configure both halves — Auto-Lockdown Threshold and Auto-Lockdown Window — in Settings > Account > Security Hardening.

Lockdown blocks non-admin access until it expires (24 hours) or an admin deactivates it from Security > Lockdown. Note that the default threshold is low and a single burst can reach it, so raise the threshold or widen the window if your panel sees legitimate bursts of flagged activity.

Admins can always sign in, so Security > Lockdown is the normal way out. If you cannot reach the panel at all, clear it directly in the database:

UPDATE lockdown_state SET active = false, triggered_by = NULL, triggered_at = NULL, reason = NULL WHERE id = 1;

To also drop the events that tripped it, so the next check does not immediately re-trigger:

DELETE FROM suspicious_events WHERE created_at > NOW() - INTERVAL '10 minutes';

Changed in 2.46.0. Suspicious-event counting, lockdown expiry and canary monitoring used to be gated by the auto-healing switch, so turning auto-healing off silently disabled all three. They now run independently. Auto-healing is off by default, so this affects any install that never switched it on — not only those that deliberately turned it off. Configure the threshold deliberately rather than relying on that side effect.

Fixed in 2.47.0. While counting was gated off, the agent still queued suspicious events to disk and nothing drained the file. On 2.46.0 the first check after upgrading read that whole backlog and counted it as having happened at that moment, so a box that had ever seen five suspicious commands locked down immediately — for 24 hours, blocking every non-admin user. 2.47.0 records each event at the time it actually occurred, so an old backlog falls outside the window. If 2.46.0 locked you out, clear it with the SQL above and upgrade.

Site Creation Rate Limit

One user may create at most Site Creation Rate Limit sites per hour (default 3); set it to 0 to remove the limit. Hitting it records a suspicious event, which feeds auto-lockdown. Configure it in Settings > Account > Security Hardening.

Canary Files

A canary file is a decoy nobody legitimate reads. While Canary File Monitoring is on, DockPanel checks each one every 2 minutes and raises a critical alert — audit-log entry, suspicious event, and a notification to every admin — if its access time has moved. Canary monitoring, suspicious-event ingestion and auto-lockdown expiry run independently of the auto-healer’s own switch.

The tripwire has to be armed before it can trip. Press Arm canary files in Settings > Account > Security Hardening; the row beside the switch tells you how many paths are actually being watched. DockPanel plants four:

PathWhy
/etc/dockpanel/.dockpanel-canarywhere the agent token and panel credentials live
/var/lib/dockpanel/.dockpanel-canaryruntime state
/var/backups/dockpanel/.dockpanel-canarypanel database dumps
/var/www/.dockpanel-canaryweb root

Three older paths — /etc/.dockpanel-canary, /root/.dockpanel-canary and /home/.dockpanel-canary — are still watched if you armed a host by hand before v2.132.0, so upgrading does not stop monitoring a tripwire you were relying on.

What this does not do, stated plainly:

  • Before v2.132.0 nothing planted these files at all. The switch is seeded on, and the endpoint that creates the canaries had no caller anywhere in the panel, so on a stock install the feature watched zero files and its silence was indistinguishable from an all-clear. If you are upgrading, arm it — being switched on was never the same as being armed.
  • /root/ and /home/ can never be watched, whatever is on disk. Both daemons run under ProtectHome=yes, which replaces those trees with an empty mount, so the panel does not see a file you place there. Widening the sandbox to reach them would cost more hardening than the tripwire is worth, so DockPanel does not plant them and no longer implies it watches them.
  • /etc/.dockpanel-canary is watched but not planted. ProtectSystem=strict leaves bare /etc read-only for the agent, so the panel cannot create it; /etc/dockpanel/ is used instead.
  • Repeat reads inside 24 hours may not register. Linux mounts default to relatime, which updates an access time only when it is older than the file’s modification time or more than a day stale. The first read after arming is caught — that is the intrusion you care about — but a second read soon after may not raise a separate alert.
  • It cannot tell an intruder from a backup. Anything that reads the whole filesystem — a backup agent, an antivirus scan, updatedb — moves the access time and trips the alert. Treat a canary alert as a prompt to check the audit log and forensic snapshot, not as proof on its own.

Backup Integrity Hashes

Backups taken through the panel record a SHA-256 hash of the archive and the hash of the previous backup of the same resource. Both appear in the chain-of-trust report.

What this does not do, stated plainly: nothing re-computes those hashes afterwards, so a tampered archive is not detected and no alert fires. The hashes are a record of what was written at the time — useful for comparing against a copy you verify yourself — not tamper detection.

Every path records one as of v2.118.0. Until then the two unattended site paths — a per-site schedule and a backup policy — did not, while manual site backups and every database and volume backup did. Backups those two paths took before v2.118.0 keep no hash; nothing back-fills one, because the archive’s hash has to be taken when the archive is written. A report for a backup with no hash shows — rather than a value.

Suspicious Command Detection

Terminal commands matching dangerous patterns (useradd, chpasswd, su, curl|bash, etc.) are flagged and reported to the admin. These events feed into the auto-lockdown threshold.

Panel Database Auto-Backup

DockPanel’s own PostgreSQL database is automatically backed up daily to /var/backups/dockpanel/ with 7-day retention. Enable/disable in Settings > Account > Security Hardening.

Image Vulnerability Scanning

DockPanel can scan every Docker app’s image against Anchore’s grype vulnerability database, surface a severity badge next to each app, and optionally refuse deploys on images that exceed a CVE threshold.

Scanning is disabled by default. Existing installs see no behaviour change after upgrade — admins opt in from the Settings UI.

Enable

  1. Go to Settings → Services → Image Vulnerability Scanning.
  2. Click Install Scanner. DockPanel downloads grype (~70 MB) into /var/lib/dockpanel/scanners/, primes the CVE database, and registers it with the agent. This is self-contained — nothing is written to /usr/local/bin, and the database lives inside the agent’s sandbox.
  3. (Optional) Toggle Enable scheduled scans to let the background sweeper rescan every running app’s image at the configured interval (default 24 h, range 1 – 720).
  4. (Optional) Toggle Scan on deploy and pick a Deploy-gate threshold — critical, high, or medium. Leave at none to observe without blocking.

What the Apps page shows

Each running app row shows two badges next to its name:

  • Update — an image tag is behind the registry.
  • CVE — the latest scan’s highest-severity count (critical/high/medium/low). Hover for exact counts; click the row to open the drawer.

The drawer lists every vulnerability from the latest scan: CVE ID, severity, affected package, installed version, and the fixed version (if one is available upstream). Click Scan Now to force an immediate rescan.

Deploy gate

When the deploy gate is set to critical, high, or medium, every door that puts an image on a host checks it against the latest stored scan for that host — deploying a template, changing an app’s image, deploying a compose file, and creating or editing a stack (each service in the file is checked):

  • If the last scan is within the past 7 days and exceeds the threshold, the deploy is refused with a clear message naming the counts and the image.
  • If no recent scan exists, the deploy is allowed and a best-effort background scan starts. The next attempt of the same image will be gated.

The gate is intentionally soft on first contact — it never blocks the very first deploy of an image on a cold database, so operators aren’t stuck waiting 30–180 s on a blocking scan the first time they use a template.

Updating an app is deliberately exempt. Update re-pulls the reference the app already runs, so the only scan on file is a scan of the image being replaced. Gating on it would refuse the update exactly when the running image is vulnerable — which is the update that fixes it. The background sweep rescans the new image afterwards, and the badge on the Apps page reflects it.

API

All endpoints require admin auth.

MethodPathPurpose
GET/api/image-scan/settingsCurrent toggles + installed state
PUT/api/image-scan/settingsUpdate toggles
POST/api/image-scan/installInstall grype + prime DB
POST/api/image-scan/uninstallRemove grype + DB
POST/api/image-scan/scanAd-hoc scan of {"image": "..."}
POST/api/apps/:name/scanScan the image used by a specific app
GET/api/apps/:name/scanLatest stored scan for an app’s image
GET/api/image-scan/recentLatest row per scanned image

Alerts

A critical or high-severity finding fires an image_scan alert to every administrator, keyed per image so unrelated images never resolve or suppress each other’s alert. It clears itself automatically the next time that image scans clean — no manual acknowledgement needed. Mute or route it like any other alert type from Settings → Notifications.

Storage

Scan results are stored in the image_scan_findings table. Per image, only the most recent 30 scans are retained; older rows are trimmed after each scan to keep the table lean.

The grype binary lives at /var/lib/dockpanel/scanners/grype and its vulnerability database at /var/lib/dockpanel/scanners/grype-db. Uninstalling from the UI removes both.

Relationship to the full-server security scan

This is distinct from the weekly full-server security scan (Settings → Security → Security Scans), which aggregates container vuln counts into a single server-wide report. Image scanning drills into each image individually so you can act on a specific app.

SBOMs

SBOMs (Software Bill of Materials)

DockPanel can generate an SPDX 2.3 JSON SBOM for any deployed Docker app’s image, listing every package present in the container. This is the composition companion to image vulnerability scanning, which reports risk.

SBOMs are useful for:

  • Compliance — the EU Cyber Resilience Act (CRA) requires SBOMs for software placed on the EU market by September 2026.
  • Supply-chain auditing — answer “what’s actually inside this image?” without trusting the registry’s metadata.
  • Vulnerability triage — feed the SBOM into other scanners (Grype, Trivy, Dependency-Track) for a second opinion or richer reporting.

SBOM generation is disabled by default — admins opt in from the Settings UI.

Enable

  1. Go to Settings → Services → SBOM Generation.
  2. Click Install Generator. DockPanel downloads syft (~80 MB) into /var/lib/dockpanel/scanners/. Self-contained — nothing is written to /usr/local/bin, and it lives entirely inside the agent’s hardened sandbox.

That’s the whole setup. SBOMs are generated on demand — there is no scheduled sweep.

Download an SBOM for a deployed app

  1. On the Apps page, click the row of any running app to open its scan drawer.
  2. Click Download SBOM. The first time, DockPanel runs syft against the app’s image (2 – 4 minutes), persists the result, and triggers a browser download of <app>.spdx.json. On every later click it serves that persisted document immediately — no re-scan.
  3. Click Regenerate instead to force a fresh syft scan, bypassing the persisted document. Do this after redeploying under a mutable tag (e.g. :latest) — the SBOM is keyed by the image reference string, so a rebuild that keeps the same tag won’t be noticed automatically.

Verify the SBOM matches the binary you’re auditing

The SBOM endpoint returns SPDX 2.3 JSON. Quick spot-checks:

# How many packages does syft see in this image?
jq '.packages | length' my-app.spdx.json

# What's the SPDX document namespace (proves which image was scanned)?
jq -r '.documentNamespace' my-app.spdx.json

# List package + version pairs
jq -r '.packages[] | "\(.name)\t\(.versionInfo)"' my-app.spdx.json

The SBOM also pairs cleanly with grype to repeat the vulnerability assessment without re-pulling the image:

grype sbom:./my-app.spdx.json

Verifying DockPanel’s own release SBOMs

Since v2.7.10, DockPanel itself ships SPDX SBOMs for dockpanel-agent, dockpanel-api, and dockpanel (CLI), all signed with cosign keyless via Sigstore. See SECURITY.md for the full verification snippet — short version:

cosign verify-blob \
  --certificate dockpanel-agent.spdx.json.pem \
  --signature  dockpanel-agent.spdx.json.sig \
  --certificate-identity-regexp '^https://github\.com/ovexro/dockpanel/\.github/workflows/release\.yml@refs/tags/v.+$' \
  --certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \
  dockpanel-agent.spdx.json

A successful verify proves the SBOM was produced by this repository’s release workflow and recorded in the public Rekor transparency log.

API

All endpoints require admin auth.

MethodPathPurpose
GET/api/sbom/settingsWhether the syft binary is installed
POST/api/sbom/installInstall syft
POST/api/sbom/uninstallRemove syft
POST/api/sbom/generateGenerate SBOM for {"image": "..."}
GET/api/sbom/image/:refFetch the persisted SBOM for an image ref
POST/api/apps/:name/sbomGenerate SBOM for an app’s image (returns JSON)
GET/api/apps/:name/sbomDownload the persisted SBOM as application/json attachment

Storage

SBOMs live in the image_sbom table — one row per image, overwritten on regeneration. Stored as JSONB so the API serves the SPDX document directly without re-parsing on the agent.

The syft binary lives at /var/lib/dockpanel/scanners/syft. Uninstalling from the UI removes it.

Relationship to image vulnerability scanning

Image scanning (grype) and SBOM generation (syft) are siblings — both share the install pattern, both target the same images, but they answer different questions:

  • Image Vulnerability Scanning (grype) — what’s broken? Per-app CVE counts, deploy gating, scheduled rescans.
  • SBOM Generation (syft) — what’s in there? On-demand SPDX export per image, suitable for compliance and external tooling.

Operators who care about supply-chain provenance should enable both.

Themes & Layouts Guide

DockPanel ships with 6 built-in themes and multiple layout options. Every theme works with every layout.

Available Themes

ThemeDescription
TerminalHacker aesthetic – near-black with a green accent
MidnightDeep navy, modern (the default)
EmberWarm & premium – dark stone with an orange accent
Clean DarkGitHub-dark, rounded
ArcticTeal & light
Clean LightModern SaaS, blue

Four are dark (Terminal, Midnight, Ember, Clean Dark) and two are light (Arctic, Clean Light).

Changing Themes

From the Panel

Either:

  • Click the theme button in the top navigation bar to cycle through the six in order, or
  • Go to Settings > Appearance and click a theme in the swatch grid.

Either way the theme applies immediately – no page reload needed.

Your theme choice is stored in the browser (localStorage, key dp-theme), so it follows the browser and the device rather than the account. Signing in from a different browser starts again at the default.

Layout Options

LayoutDescription
SidebarTraditional sidebar navigation on the left
CompactNarrow icon-only sidebar that expands on hover
TopbarHorizontal navigation bar at the top

Changing Layout

  1. Go to Settings > Appearance
  2. Select your preferred layout
  3. The layout applies immediately

Customization

Progress Bar Glow

Progress bars (backup progress, deploy progress, etc.) feature a subtle glow effect that matches the active theme’s accent color.

Status Indicators

Status indicators (online, offline, degraded) use consistent color coding across all themes:

  • Green: Operational / healthy
  • Yellow: Degraded / warning
  • Red: Down / critical
  • Gray: Unknown / inactive

White-Labeling

DockPanel supports custom branding:

  1. Go to Settings > Branding
  2. Set:
    • Panel name: Custom name shown in the sidebar/header
    • Logo URL: Your custom logo
    • Favicon URL: Custom browser tab icon
  3. Click Save

Branding is visible to all users and on the login page.

Sessions Guide

DockPanel tracks active login sessions and provides per-session revocation and a GDPR data export.

View Active Sessions

  1. Go to Settings > Sessions
  2. Each session shows:
    • IP Address: the source IP recorded at login, or unknown when the request carried no forwarded address (a loopback call from a deploy script, for example)
    • User agent: the raw client string the browser or tool sent
    • Last seen: when the session was last used
    • This device: a badge on the session you are currently using

There is no location column. DockPanel does not geolocate sessions and stores no country, city or coordinates.

Revoke a Session

To log out a specific session — a device you no longer use, or one you do not recognise:

  1. Find the session in the list
  2. Click Revoke
  3. The session is invalidated immediately: its token is blacklisted, in memory and in the database, so it does not come back after a restart

The client on that device is sent to the login page on its next request. You cannot revoke the session you are currently using; log out instead.

Revoke All Sessions — read this before pressing it

This button is panel-wide, not account-wide. It logs out every user of this panel, including you. It is an operator control for a suspected compromise of the panel itself, not a way to tidy up your own devices — and it is admin only, so a non-admin will get a permission error.

To sign your own other devices out, revoke them individually from the list above. That is the account-level control, and it is available to every user.

GDPR Data Export

Download the personal data associated with your account:

  1. Go to Settings > Sessions
  2. Click Export My Data
  3. A JSON file downloads containing:
    • Account profile — email, role, OAuth provider, whether 2FA is on, created date
    • Your sites — domain and runtime
    • Recent activity — the last 100 actions
    • Session history — IP, user agent and creation time

This supports GDPR Article 20 (right to data portability) for the data listed above. It is a portability export, not a full disclosure of every record the panel holds that mentions you: server-side logs, backups and audit entries are retained separately under their own retention settings.

Session Security

  • JWT expiry: tokens expire after 2 hours
  • Revocation survives restart: revoked token IDs are persisted, not just held in memory
  • Suspension: suspending an account revokes its sessions at the same time

DockPanel does not bind a session to its originating IP, and does not limit the number of concurrent sessions per user. Earlier versions of this guide said it did; no such setting has ever existed.

API Reference

See the Sessions API for all endpoints.

Roles and Site Ownership

DockPanel has one ownership rule and it is deliberately simple: every site belongs to exactly one account. There is no access-control list, no sharing, and no second owner. Almost everything below follows from that.

The roles

RoleCan create sitesSeesIntended for
adminYesEvery site on a machine it runs, and can act on all of themYou
resellerYesIts own sub-accounts, and how many sites each holdsSelling hosting on
userYesOnly what it ownsAn ordinary self-serve account
clientNoOnly what it ownsSomeone who manages domains you gave them
suspended—Nothing; every request is refusedSet by the Suspend action, not assigned directly

reseller is the one role you do not assign from the Users screen, because it is not only a role: it carries a profile holding that reseller’s quotas, its panel name and its branding, and the set of servers it may place sites on. Promote an account in Admin → Resellers, which writes both halves. Until v2.118.0 the Users dropdown offered it and wrote only the role, producing an account that was shown a reseller menu whose pages then answered 404.

The admin row is the one that changed most recently, and it changed because the promise came before the capability. For four days it described a reach the code did not have; the reach now exists and is described under Transfer hands over ownership below. A reseller still sees its sub-accounts and a site count per account, not the sites themselves.

client is the newest and the only one that is a restriction rather than a promotion. A client manages the sites it holds — PHP version, settings, files, backups, SSL, and a shell inside each site it owns — and cannot bring a new domain into service.

One capability this sentence used to list is not a client’s, and never was. Containers: every handler in routes/docker_apps.rs calls require_admin, because a container on this box belongs to the box rather than to a site. Corrected in v2.77.0 after an operator followed the list and found items missing from the panel; the capability is what changed there, not the description — see Withdrawn Claims in FEATURES.md.

Mail was in the same position until v2.102.0 and is no longer. A client now manages the mailboxes and aliases of a mail domain whose name matches a site it owns on the same server — see Mail follows the site below.

What a client’s shell is, precisely: selecting one of your sites in Terminal opens a session inside that site’s directory, as www-data, under a restricted shell with no privilege escalation. It is not a server shell — that one is administrator-only, deliberately, and is the subject of the v2.75.0 security fix. Before v2.77.0 the Terminal page dialled the server shell by default, so a client met a refusal on a page they were in fact entitled to use.

Giving a client a domain

  1. Users → New User, role Client. (Or edit an existing account’s role.)
  2. Create the site yourself, as admin, in the normal way.
  3. Open the site → Transfer → the client’s email address.

The client can now sign in and manage that site. Repeat step 3 for each domain they should hold.

Transfer hands over ownership

The account you transfer to becomes the owner, and the previous owner stops being one. Ownership is a single value, not a list. For an ordinary user or a client that is the whole story: a transferred site leaves their Sites list and its page stops answering them.

For you it is different, because you run the box. An administrator can open, edit and delete any site on a machine they operate, whoever owns it. Ownership still decides whose a site is — who sees it on their own Sites page, and who a transfer moves it to — but it no longer decides what you are allowed to repair.

Two things bound that reach, and both are deliberate:

  • It stops at the hardware you operate — this box, plus any server you registered yourself. It does not extend to a machine another administrator added.
  • Your own Sites page still lists only your own sites. To see everybody’s, Sites → tick All sites on this server, which shows every site on the box with its owner beside it, and a Transfer button on each row.

This is the second correction to this page in a week, and the direction reversed. The first one removed a reach the role did not have. Then the operator who had been using the feature pointed out that an administrator who cannot repair a tenant’s site is not much use on a server they are responsible for, which was the better argument (#51).

What still does not exist is two non-admin accounts holding one domain at once. If that is what you need, say so on the issue tracker rather than working around it — the workaround people reach for is a second account with a shared password, and that removes the audit trail that makes the panel worth having.

What moves with the site

The sites row, its staging environment if it has one, and the four kinds of record that keep their own copy of the owner beside the site: alerts, monitors, secret vaults, and WHMCS service mappings. Everything else a site owns — databases, cron jobs, backups, SSL certificates — is reached through the site, so it follows automatically.

A staging environment is a second site in its own right, which is why it has to be named here. Until v2.82.0 it did not move, and the consequence was not cosmetic: the previous owner kept a shell inside a full copy of the new owner’s files, and kept the control that pushes that copy over the new owner’s live site.

The whole transfer is one database transaction. It either happens completely or not at all; there is no state where the site answers to the new owner while its alerts still answer to the old one.

What a client cannot do

Bring a new domain into service, by any route. That is enforced in the single place every domain-introducing path goes through, so it holds for creating a site, cloning one, adding an alias, creating a staging copy, deploying a git repository to a new domain, deploying a Docker app with a domain, and creating a Compose stack with one. A client attempting any of these gets:

This account can manage the domains it holds but cannot bring a new one into service. Ask an administrator to create it and transfer it to you.

Renaming a domain the client already holds is allowed — that is managing a site it owns, not creating a new one.

With one exception: not onto a name whose mailboxes already exist. A mail domain holds its name the same way a site, a git deployment, a Compose stack or a Docker app does, and the occupancy check now says so:

Domain already in use by a mail domain. Ask an administrator to create the site and transfer it to you — claiming a name whose mailboxes already exist would hand you those mailboxes.

This refuses every non-administrator, not only clients, because a plain user may create sites freely and would otherwise reach the same place by a different door. An administrator is not refused: putting a site and its mail on the same name is an ordinary arrangement, and “set the mail up first, add the website after” has to keep working.

The reason the rule exists is worth stating plainly: mail is scoped by matching a mail domain’s name against the domain of a site the caller owns (GitHub #106, shipped in v2.102.0). That makes the site’s domain an authorisation key — and it is a key the account being authorised can write. Without this rule, an account could point a site it already owned at a name whose mailboxes existed and hand itself every mailbox on it.

Mail follows the site (v2.102.0)

A mail domain is managed by whoever owns the site of the same name on the same server. That account can list the domain, read its DNS records, and create, edit and delete its mailboxes and aliases — including setting passwords and forwards. No new column and no new setting: ownership of the site is the grant, so transferring a site transfers its mailboxes with it.

Three limits are worth knowing before you plan around them:

  • Same server. sites is unique on (domain, server_id), not on the domain alone, so the match carries the server too. A domain whose website and mailboxes live on different hosts stays administrator-only — the panel cannot tell that arrangement apart from two unrelated customers holding one name on two machines, and it refuses rather than guess.
  • One owner. If two accounts hold different casings of the same name on one server — possible only on installs predating v2.52.0 — neither gets the mail. It fails closed.
  • The domain itself stays administrative. Creating, renaming and deleting a mail domain, and setting its catch-all, remain administrator-only. A catch-all redirects an entire domain’s mail, which is not a per-mailbox decision.

Creating a mail domain over a name a customer already holds a site on is how you give them their mail — and because that single action hands over every mailbox and password on it, the activity record now names the account it granted.

Where they find it (v2.103.0)

v2.102.0 opened the endpoints; the panel showed nothing, so the grant was real but invisible. Mail now appears in the sidebar for every role, and what the page shows depends on what you own:

administratorowner of the matching site
Domains, mailboxes, aliases, DNS recordsalltheir own
Add / delete a mail domain, catch-all, Verify DNSyesno
Mail server install, Rspamd, webmail, relay, blacklist, rate limit, TLSyesno
Queue and Logs tabs, mailbox backupsyesno

The entry is not restricted to the client role, because the grant is not either: a plain user and a reseller reach a mail domain by exactly the same route if they hold the matching site. An account that owns no matching domain sees the page and an explanation of how mail arrives, rather than an invitation to create a domain the panel would refuse it.

Being a client also means not being an admin, so every administrative surface — users, servers, panel settings, updates, the firewall — refuses it, the same way it refuses an ordinary user.

The controls for what a client cannot do are no longer shown to it (v2.82.0). Create Site, Clone, Create Staging and Add Alias used to be rendered and then refused, so the message above arrived only after the person had filled in a domain and, for a WordPress site, a set of administrator credentials. The rule has not changed; where you meet it has.

What a client can see that it could not before

Two screens required an administrator over data that was already limited to the caller’s own rows, so the check decided who was refused rather than what was returned (v2.82.0):

  • Monitoring → Certificates. A client sees the expiry dates of its own sites’ certificates. The dashboard tile had been reporting exactly these all along and linking to a page that answered “Admin access required”.
  • Monitoring → Maintenance. A client can schedule a maintenance window, which silences its own standing alerts while it works on its own site. One-off failure reports — a failed backup or cron — still come through; the monitoring guide lists which are held and which are not.

Still administrator-only, and correctly so: containers, DNS, CDN, the server shell, and everything under the Admin group. Mail is now partly a client’s — the mailboxes on a domain it owns a site for; the mail domain itself is not.

Every account owns its own security (v2.83.0)

My Account is the one navigation entry every role carries. It holds two-factor enrolment, passkeys, password change, the list of devices signed in to the account, API keys, and an export of everything the panel stores about you.

Until v2.83.0 all of it lived on the Settings page, which is administrator-only, so a client, user or reseller had no entrance to any of it — while the banner across the top of every page told them two-factor authentication was required and linked them to that same page. None of it was ever a permissions question: each of those endpoints was already restricted to the caller’s own rows. The screens simply had no door. The Settings tab administrators already know renders the same components, so there is one implementation rather than two.

A non-administrator could always reset a password through the public Forgot password form, which needs working SMTP and being signed out. Everything else listed above was unreachable.

If you lose your authenticator app, sign in with one of the recovery codes saved when you enrolled, then enter another recovery code in the Disable 2FA field on My Account and enrol again. Before v2.83.0 that field took only a live code from the app, so a lost device could sign in and never repair itself — there is no administrator-side two-factor reset. Recovery codes are single use, and the panel does not yet offer a way to generate a fresh set without disabling and re-enrolling.

Alert channels are the one piece of per-account configuration still behind the administrator door; the Notifications page no longer offers a link to it that a client cannot follow.

Suspending and restoring

Suspend is a separate action, not a role you assign. It records the account’s current role in users.prior_role, sets the role to suspended, and revokes its sessions. Un-suspending gives back the recorded role — including client, so a suspended client comes back a client rather than being quietly promoted to an account that can create sites, and an administrator comes back an administrator.

Until v2.73.0 that record was kept in the same column as the password-reset token, and asking for a password reset overwrote it. A suspended account could do that itself from the public Forgot password form, so the un-suspend found nothing to restore and fell back to user — promoting a client and demoting an admin. The password-reset endpoints now refuse a suspended account, and the record has a column nothing else writes.

One case cannot be recovered, and un-suspending refuses rather than guessing. An account suspended before v2.73.0 whose record was already destroyed has no previous role to give back — the activity log stores what a role became, never what it was. Un-suspending one of those returns a conflict explaining exactly that; set the role from the user editor, which also lifts the suspension. No default is applied, in either direction: user is the value that caused the bug, and client is not simply a smaller user, so there is no ordering of these roles that makes a guess safe. Accounts suspended on v2.73.0 or later always have a record and are unaffected.

The specific consequence this used to describe — an account handed client staying visible to its reseller while becoming unmanageable by them — was fixed in v2.82.0. A reseller may now act on every account its own table lists, whether that account is a user, a client, or suspended. Administrators and other resellers remain out of reach, by an allow-list rather than by an exclusion, so a role added later does not silently become something a reseller may touch.

Billing-driven suspension through the WHMCS webhook follows the same rules, including revoking the account’s sessions — which it did not do before v2.73.0, so a billing suspension left the account working until its token expired, up to two hours later. Two differences remain, both deliberate: billing will not suspend an admin or reseller (a lapsed invoice must not lock an operator out of their own panel), and it will not restore one either — that direction had no guard at all until v2.73.0, so the webhook secret alone could return an operator role to an account the panel had suspended.

Both directions honour the Auto-suspend checkbox on Integrations → WHMCS. Previously only suspension checked it, and none of the three WHMCS flags had a control at all.

⚠ Before v2.92.0 none of this could be exercised, because the integration could not be configured at all. The one statement that writes the WHMCS settings used a conflict target no constraint on the table matched, and PostgreSQL resolves that target when it parses the statement — so the save failed on the first attempt as well as on re-saves, and the settings row could never exist. Every rule described above was therefore unreachable on every install from 2026-03-28 until v2.92.0, which supplies the missing constraint. A note in an earlier revision of this guide described the flags being “reset to their defaults on every use”; that could not have happened, since no save ever succeeded.

A note on what Teams is not

The panel has /api/teams endpoints. They grant no access to anything — nothing in the authorization path consults team membership, and there is no Teams UI. If you are looking for multi-user access, the roles above are the mechanism; Teams is not. See FEATURES.md §Withdrawn Claims.

API Reference

DockPanel exposes 840 REST endpoints (545 backend + 295 agent) across 50+ categories — the figure derived from the two routers in FEATURES.md §Verified Metrics, which owns it. The tables below document the commonly used subset, not every route. All endpoints except /api/health, /api/branding, /api/auth/setup-status, and /api/auth/login require authentication.

Authentication

All authenticated requests require either:

  • Cookie: token=<JWT> (set by login response)
  • Bearer: Authorization: Bearer <JWT>

JWTs expire after 2 hours. Obtain one via POST /api/auth/login.

Multi-server

Include X-Server-Id: <uuid> header to target a specific server. Omit for the local server.


Auth (18 endpoints)

GET /api/auth/setup-status

Check if initial admin setup is needed. No auth required.

Response: { "needs_setup": true }

POST /api/auth/setup

Create the initial admin account. Only works once.

{ "email": "admin@example.com", "password": "SecurePass123!" }

POST /api/auth/login

Authenticate and receive a JWT cookie.

{ "email": "admin@example.com", "password": "SecurePass123!" }

Response: { "user": { "id": "uuid", "email": "...", "role": "admin" } } If 2FA enabled: { "requires_2fa": true, "temp_token": "..." }

POST /api/auth/2fa/verify

Complete 2FA challenge.

{ "temp_token": "...", "code": "123456" }

POST /api/auth/logout

Invalidate the current JWT.

GET /api/auth/me

Get the authenticated user’s profile.

Other auth endpoints

MethodPathPurpose
POST/api/auth/registerCreate user account
POST/api/auth/verify-emailVerify email token
POST/api/auth/forgot-passwordRequest password reset
POST/api/auth/reset-passwordReset password with token
POST/api/auth/change-passwordChange password (authenticated)
POST/api/auth/revoke-allRevoke all sessions
POST/api/auth/2fa/setupGet TOTP QR code
POST/api/auth/2fa/enableEnable 2FA with verification code
POST/api/auth/2fa/disableDisable 2FA (TOTP or recovery code)
POST/api/auth/2fa/recovery-codesIssue a fresh set of recovery codes
GET/api/auth/2fa/status2FA state, enforcement, recovery codes remaining
GET/api/auth/oauth/{provider}Start OAuth flow (google/github/gitlab)
GET/api/auth/oauth/{provider}/callbackOAuth callback

Sites (70 endpoints)

POST /api/sites

Create a new site.

{
  "domain": "example.com",
  "runtime": "php",
  "php_version": "8.3",
  "proxy_port": null,
  "app_command": null,
  "cms": "wordpress",
  "site_title": "My Site",
  "admin_email": "admin@example.com",
  "admin_user": "admin",
  "admin_password": "WpPass123!"
}

Runtimes: static, php, proxy, node, python CMS options: wordpress, laravel, drupal, joomla, symfony, codeigniter

GET /api/sites

List all sites for the authenticated user.

GET /api/sites/{id}

Get site details.

DELETE /api/sites/{id}

Delete site and all associated resources (database containers, nginx config, SSL, crons, backups).

Files

MethodPathBody
GET/api/sites/{id}/files?path=.List directory
GET/api/sites/{id}/files/read?path=index.htmlRead file content
PUT/api/sites/{id}/files/write{ "path": "file.txt", "content": "..." }
POST/api/sites/{id}/files/create{ "path": "dir", "is_dir": true }
POST/api/sites/{id}/files/rename{ "from": "old.txt", "to": "new.txt" }
DELETE/api/sites/{id}/files?path=file.txtDelete file
POST/api/sites/{id}/files/uploadUpload a file — JSON body, content base64-encoded, 1.5 MB limit
GET/api/sites/{id}/files/download?path=file.txtDownload file

Backups

MethodPathPurpose
POST/api/sites/{id}/backupsCreate backup
GET/api/sites/{id}/backupsList backups
POST/api/sites/{id}/backups/{backup_id}/restoreRestore backup
DELETE/api/sites/{id}/backups/{backup_id}Delete backup
GET/api/sites/{id}/backup-scheduleGet schedule
PUT/api/sites/{id}/backup-scheduleSet schedule

Crons

MethodPathBody
POST/api/sites/{id}/crons{ "schedule": "*/5 * * * *", "command": "echo hi" }
GET/api/sites/{id}/cronsList crons
PUT/api/sites/{id}/crons/{cron_id}Update cron
DELETE/api/sites/{id}/crons/{cron_id}Delete cron
POST/api/sites/{id}/crons/{cron_id}/runRun immediately

SSL

MethodPathPurpose
POST/api/sites/{id}/sslProvision Let’s Encrypt cert
GET/api/sites/{id}/sslGet SSL status, including who issued the certificate
POST/api/sites/{id}/ssl/uploadUpload custom certificate

GET /api/sites/{id}/ssl returns provenance, one of:

ValueMeaning
dockpanelIssued by Let’s Encrypt, so DockPanel issued it and renews it
foreignIssued by somebody else; issuer names them, and DockPanel will not renew it
unknownNo answer to act on — the agent was unreachable, or the site is served by a certificate stored under its zone’s name rather than its own

⛔ unknown must never be rendered as a CA name. It is what an unreachable agent returns, and a certificate that is real and healthy sits behind it.

Other site endpoints

MethodPathPurpose
PUT/api/sites/{id}/phpSwitch PHP version
PUT/api/sites/{id}/limitsSet rate limits, upload size, PHP workers
GET/api/sites/{id}/provision-logSSE stream of provisioning progress
POST/api/sites/{id}/cloneClone site
GET/PUT/api/sites/{id}/envEnvironment variables
GET/api/sites/{id}/healthHTTP health check
GET/api/sites/{id}/statsBandwidth/traffic stats
GET/api/sites/{id}/access-logsNginx access logs
GET/api/sites/{id}/php-errorsPHP error log
POST/GET/api/sites/{id}/redirectsURL redirects
POST/GET/api/sites/{id}/password-protectHTTP basic auth
POST/GET/api/sites/{id}/aliasesDomain aliases
POST/GET/DELETE/api/sites/{id}/stagingStaging environments
GET/POST/api/sites/{id}/wordpress/*WordPress management

Databases (14 endpoints)

POST /api/databases

Create a MySQL or PostgreSQL database in a Docker container.

{
  "site_id": "uuid",
  "name": "mydb",
  "engine": "postgres"
}

Engines: postgres, mysql, mariadb

GET /api/databases

List all databases.

POST /api/databases/{id}/query

Execute SQL query.

{ "sql": "SELECT * FROM users LIMIT 10" }

Other database endpoints

MethodPathPurpose
DELETE/api/databases/{id}Delete database + container
GET/api/databases/{id}/credentialsConnection string
GET/api/databases/{id}/tablesList tables
GET/api/databases/{id}/tables/{table}Table schema
GET/api/databases/{id}/indexes/{table}Table indexes
GET/api/databases/{id}/foreign-keysForeign-key map
GET/api/databases/{id}/schema-overviewTables + relationships in one call
GET/PUT/api/databases/{id}/pitrRead/store a PITR retention preference. Point-in-time recovery is not implemented — nothing is archived and POST /pitr/restore answers 501
POST/api/databases/{id}/reset-passwordRotate the database password
GET/api/databases/{id}/dumpsAdmin only. List dumps the operator placed in this database’s backup directory, including files that cannot be imported and why
POST/api/databases/{id}/importAdmin only. Import one of those dumps. Body: {"filename": "mydb-20260821-120000.sql.gz"}. Answers 504 with an explanation if the import outlasts the panel’s 270s wait — that is not a failure

Docker Apps (25 endpoints)

GET /api/apps/templates

List available app templates (147 templates across 14 categories). Admin only.

POST /api/apps/deploy

Deploy a Docker app. Admin only.

{
  "template_id": "redis",
  "name": "my-redis",
  "port": 6379,
  "env": { "REDIS_PASSWORD": "secret" },
  "domain": "redis.example.com",
  "ssl_email": "admin@example.com",
  "memory_mb": 256,
  "cpu_percent": 50
}

Returns 202 with deploy_id. Stream progress via GET /api/apps/deploy/{deploy_id}/log (SSE).

GET /api/apps

List running containers.

Container lifecycle

MethodPathPurpose
POST/api/apps/{container_id}/startStart
POST/api/apps/{container_id}/stopStop
POST/api/apps/{container_id}/restartRestart
POST/api/apps/{container_id}/updatePull latest image + redeploy. Refuses, leaving the container running, when the image cannot be pulled and the local copy is either absent or already the one in use
DELETE/api/apps/{container_id}Remove
GET/api/apps/{container_id}/logsContainer logs
GET/api/apps/{container_id}/statsCPU/memory/network stats
GET/api/apps/{container_id}/envEnvironment variables
PUT/api/apps/{container_id}/envUpdate env vars (recreates container)
POST/api/apps/{container_id}/execExecute command in container
GET/api/apps/{container_id}/volumesVolume mounts
POST/api/apps/{container_id}/snapshotCreate backup image

PUT /api/apps/{container_id}/env replaces the container’s environment with the object you send: a name you omit is removed, and a value sent back as ******** means “leave this one alone” (the container is the only place an app’s environment is stored, so the masked read is what the panel has to reconcile against). Names may be added freely — the same bounds the deploy endpoint enforces apply here: at most 50 variables, names up to 255 characters, values up to 4KB, and a name may not contain = or a null byte.

Domain-derived variables. When a template declares a variable holding the app’s own public address and you claim a domain at deploy time, POST /api/apps/deploy fills that variable in from the domain rather than leaving the template’s localhost default. It applies to n8n, ghost, plausible, drone, photoprism and graylog; a value you send explicitly always wins. The template objects returned by GET /api/apps/templates mark such variables with domain_derived: true.

Docker Compose

MethodPathPurpose
POST/api/apps/compose/parseValidate compose YAML
POST/api/apps/compose/deployDeploy compose stack

Images & Registries

MethodPathPurpose
GET/api/apps/imagesList images
POST/api/apps/images/pruneRemove dangling images
DELETE/api/apps/images/{id}Remove image
GET/api/apps/registriesList registries
POST/api/apps/registry-loginLogin to registry
POST/api/apps/registry-logoutLogout

Docker Compose Stacks (8 endpoints)

POST /api/stacks

Create a named stack from compose YAML, optionally fronted by a domain.

{
  "name": "my-stack",
  "yaml": "version: \"3\"\nservices:\n  web:\n    image: nginx:alpine",
  "domain": "app.example.com",
  "tls_mode": "provided",
  "tls_certificate": "example-com-wildcard"
}

tls_mode is how the domain is served and is stored on the stack: none (plain HTTP, or TLS terminated upstream), acme (a Let’s Encrypt certificate ordered under ssl_email) or provided (a certificate registered under the alias in tls_certificate — see the registry below). Omitted, it is derived from ssl_email exactly as every client before v2.160.0 meant it. A provided claim is refused before any row is written when the alias is unknown on the stack’s server, when that server’s agent predates v2.160.0, or when the certificate does not name the domain — the refusal says which names it does cover.

PUT /api/stacks/{id} treats an absent field as keep: the mode, ssl_email, the alias and domain itself stay as stored unless the request names them. An explicit "domain": null vacates the domain (and a vacated domain has no mode). Before v2.160.0 the request’s ssl_email was forwarded verbatim, so an edit that omitted it rewrote the vhost without TLS.

MethodPathPurpose
GET/api/stacksList stacks
GET/api/stacks/{id}Stack details
PUT/api/stacks/{id}Update YAML + redeploy
POST/api/stacks/{id}/startStart all services
POST/api/stacks/{id}/stopStop all services
POST/api/stacks/{id}/restartRestart
DELETE/api/stacks/{id}Remove stack

TLS certificate registry (4 endpoints)

A certificate registered once, under an alias, and served by any number of Compose stacks that claim a domain it covers (#104). The pair lives on that server’s agent, beside the per-domain tree; the panel keeps the alias and the metadata. Administrators only.

MethodPathPurpose
GET/api/tls-certificatesList the certificates registered on the scoped server, with names, issuer, expiry, status and the stacks using each
POST/api/tls-certificatesRegister {alias, certificate, private_key} — the alias is 1–64 lowercase letters, digits or hyphens; the key must belong to the certificate; 409 if the alias is taken
PUT/api/tls-certificates/{id}Replace the pair behind an alias; refused if the new certificate stops covering a domain a stack serves under it
DELETE/api/tls-certificates/{id}Remove it; 409 naming the stacks while any still uses it

Git Deploy (16 endpoints)

POST /api/git-deploys

Create a git deployment.

{
  "name": "my-app",
  "repo_url": "https://github.com/user/repo.git",
  "branch": "main",
  "domain": "app.example.com",
  "container_port": 3000,
  "auto_deploy": true,
  "build_context": ".",
  "preview_ttl_hours": 24
}

POST /api/git-deploys/{id}/deploy

Trigger a build + deploy. Returns 202 in two different shapes, and a client that reads only deploy_id will treat the second as a silent success:

{ "deploy_id": "…", "message": "Deployment started" }

The build has started. Stream it via GET /api/git-deploys/deploy/{deploy_id}/log (SSE).

{ "status": "pending_approval", "message": "Deploy requires approval from another admin …" }

The deployment has deploy_protected set, so nothing was built. A request was filed and a different administrator must resolve it — see Deploy Approvals below. There is no deploy_id, and none exists until the approval is granted. Filing a request is idempotent: a deployment may have only one waiting at a time, and a repeat call says so rather than queueing a second.

MethodPathPurpose
GET/api/git-deploysList deployments
GET/api/git-deploys/{id}Details
PUT/api/git-deploys/{id}Update config
DELETE/api/git-deploys/{id}Remove
POST/api/git-deploys/{id}/keygenGenerate SSH deploy key
GET/api/git-deploys/{id}/historyDeploy history
POST/api/git-deploys/{id}/rollback/{history_id}Rollback to version
GET/api/git-deploys/{id}/logsContainer logs
POST/api/git-deploys/{id}/startStart container
POST/api/git-deploys/{id}/stopStop
POST/api/git-deploys/{id}/restartRestart
GET/api/git-deploys/{id}/previewsPreview environments
DELETE/api/git-deploys/{id}/previews/{preview_id}Delete preview

Monitoring (13 endpoints)

POST /api/monitors

Create an uptime monitor.

{
  "name": "Google",
  "url": "https://google.com",
  "check_interval": 300,
  "monitor_type": "http",
  "alert_email": true,
  "alert_slack_url": "https://hooks.slack.com/...",
  "keyword": "OK"
}

Types: http, https, tcp, ping, dns

MethodPathPurpose
GET/api/monitorsList monitors
PUT/api/monitors/{id}Update
DELETE/api/monitors/{id}Delete
POST/api/monitors/{id}/checkForce check now
GET/api/monitors/{id}/checksCheck history
GET/api/monitors/{id}/incidentsDowntime incidents
GET/api/monitors/{id}/uptimeUptime percentage
GET/api/monitors/{id}/chartResponse time chart
GET/api/monitors/certificatesSSL certificate dashboard
GET/POST/api/monitors/maintenanceMaintenance windows
GET/api/status-pagePublic status page
POST/api/heartbeat/{monitor_id}/{token}Dead man’s switch (no auth)

DNS (12 endpoints)

POST /api/dns/zones

Create a DNS zone.

{
  "domain": "example.com",
  "provider": "cloudflare",
  "cf_zone_id": "...",
  "cf_api_token": "..."
}

Providers: cloudflare, powerdns

POST /api/dns/zones/{id}/records

Add a DNS record.

{
  "type": "A",
  "name": "@",
  "content": "1.2.3.4",
  "ttl": 3600,
  "proxied": true
}
MethodPathPurpose
GET/api/dns/zonesList zones
DELETE/api/dns/zones/{id}Delete zone
GET/api/dns/zones/{id}/recordsList records
PUT/api/dns/zones/{id}/records/{record_id}Update record
DELETE/api/dns/zones/{id}/records/{record_id}Delete record
POST/api/dns/propagationCheck propagation
POST/api/dns/health-checkDNS health check
GET/api/dns/zones/{id}/dnssecDNSSEC status
GET/api/dns/zones/{id}/changelogRecord change history
GET/api/dns/zones/{id}/analyticsQuery volume

Security (23 endpoints)

MethodPathPurpose
GET/api/security/overviewSecurity posture summary
POST/api/security/scanRun security scan
GET/api/security/scansScan history
GET/api/security/scans/{id}Scan details
GET/api/security/postureSecurity score
GET/api/security/reportCompliance report (HTML)
GET/api/security/firewallUFW rules
POST/api/security/firewall/rulesAdd rule
DELETE/api/security/firewall/rules/{number}Delete rule
GET/api/security/fail2banFail2Ban status
POST/api/security/fail2ban/banBan IP
POST/api/security/fail2ban/unbanUnban IP
GET/api/security/fail2ban/{jail}/bannedList banned
POST/api/security/ssh/disable-passwordDisable SSH password auth
POST/api/security/ssh/enable-passwordEnable SSH password auth
POST/api/security/ssh/disable-rootDisable root login
POST/api/security/ssh/change-portChange SSH port
GET/api/security/login-auditLogin history
POST/api/security/fixApply security fix
POST/api/security/panel-jail/setupCreate Fail2Ban jail for panel
GET/api/security/panel-jail/statusPanel jail status
GET/api/security/canary-statusCanary tripwire state — which paths are watched, absent or masked
POST/api/security/canary/armPlant the canary files the agent can write

Alerts (8 endpoints)

MethodPathPurpose
GET/api/alertsList alerts (filter by status/type)
GET/api/alerts/summaryCount by severity
PUT/api/alerts/{id}/acknowledgeMark as seen
PUT/api/alerts/{id}/resolveClose alert
GET/api/alert-rulesGet thresholds
PUT/api/alert-rulesUpdate global rules
PUT/api/alert-rules/{server_id}Per-server rules
DELETE/api/alert-rules/{server_id}Remove server overrides

Mail (39 endpoints)

POST /api/mail/install

Install Postfix + Dovecot + OpenDKIM. Admin only.

POST /api/mail/domains

Add a mail domain.

Key mail endpoints

CategoryEndpoints
DomainsCRUD /api/mail/domains, /api/mail/domains/{id}
AccountsCRUD /api/mail/domains/{id}/accounts
AliasesCRUD /api/mail/domains/{id}/aliases
DNS/api/mail/domains/{id}/dns, /api/mail/domains/{id}/dns-check
QueueGET /api/mail/queue, POST flush, DELETE {queue_id}
Spam/api/mail/rspamd/install, status, toggle
Webmail/api/mail/webmail/install, status, remove
Relay/api/mail/relay/configure, status, remove
TLS/api/mail/tls/status, enforce
Rate limit/api/mail/rate-limit/set, status, remove
LogsGET /api/mail/logs
StorageGET /api/mail/storage
BackupPOST /api/mail/backup, GET backups, POST restore
ReputationGET /api/mail/blacklist-check

Account passwords are hashed with Argon2id and stored in Dovecot’s {ARGON2ID} scheme (since v2.13.1). Accounts created before v2.13.1 were stored with a hash Dovecot could not verify — reset each mailbox’s password once after upgrading so login works. Address fields (e-mail, alias source/destination, catch-all, forward-to) are validated against a strict character set and return 400 on invalid input.


Servers (8 endpoints)

MethodPathPurpose
GET/api/serversList servers
POST/api/serversAdd remote server
GET/api/servers/{id}Server details + metrics
PUT/api/servers/{id}Update name/IP/URL
DELETE/api/servers/{id}Remove server
POST/api/servers/{id}/testTest agent connectivity
GET/api/servers/{id}/metricsHistorical metrics
POST/api/servers/{id}/rotate-tokenRotate agent token

Extensions (7 endpoints)

POST /api/extensions

Create a webhook integration.

{
  "name": "My Webhook",
  "webhook_url": "https://example.com/hook",
  "event_subscriptions": "site.created,site.deleted,backup.completed",
  "api_scopes": "sites:read,monitors:read"
}

Events: site.created, site.deleted, backup.completed, deploy.started, deploy.completed, app.deployed, auth.login, ssl.provisioned

MethodPathPurpose
GET/api/extensionsList
PUT/api/extensions/{id}Update
DELETE/api/extensions/{id}Delete
POST/api/extensions/{id}/testSend test event
POST/api/extensions/{id}/rotate-secretRotate HMAC secret
GET/api/extensions/{id}/eventsDelivery log

Other Endpoints

Users (4) — Admin only

MethodPathPurpose
GET/api/usersList users
POST/api/usersCreate user
PUT/api/users/{id}Update role
DELETE/api/users/{id}Delete user
POST/api/users/{id}/reset-passwordSet a new password for a user
POST/api/users/{id}/toggle-suspendSuspend or restore a user
POST/api/users/{id}/reset-2faClear a user’s 2FA enrolment

Teams (7)

⚠ These endpoints grant no access. They create teams, invite members and validate roles, but team_members is read by routes/teams.rs and by nothing else, so no authorization path in the panel consults team membership — the admin / developer / viewer roles have no effect on any resource. There is also no Teams UI, and the invite email links to an SPA route that does not exist. Documented because the endpoints are real and routed; do not build against them expecting them to authorize anything. See FEATURES.md §Withdrawn Claims.

MethodPathPurpose
GET/POST/api/teamsList/create teams
DELETE/api/teams/{id}Delete team
POST/api/teams/{id}/inviteInvite member
POST/api/teams/acceptAccept invitation
PUT/DELETE/api/teams/{id}/members/{member_id}Update/remove member

Resellers (14) — Admin creates, reseller manages

The /api/resellers family is admin-only and is driven by Admin → Resellers. The /api/reseller/* family answers for the calling reseller’s own tenant and refuses an administrator, who has no tenant — use /api/resellers/{id} instead.

MethodPathPurpose
GET/POST/api/resellersList/create reseller profiles
GET/PUT/DELETE/api/resellers/{id}Manage profile
GET/POST/DELETE/api/resellers/{id}/serversServer allocation
GET/api/reseller/dashboardReseller’s dashboard
GET/POST/PUT/DELETE/api/reseller/usersReseller’s sub-users

POST /api/resellers promotes an existing account and takes its user_id. It refuses an administrator (400) and an account that already has a profile (409). An account that kept a profile through an earlier demotion is restored with its stored quotas rather than re-created. PUT is COALESCE on every column, so a null field leaves the stored value unchanged — there is no way to clear one through this API.

API Keys (4)

A dp_-prefixed key issued here authenticates requests: send it as Authorization: Bearer dp_... and auth.rs’s AuthUser extractor looks up its hash and authenticates as the owning user (since v2.221.0; last_used_at updates on each use). This does not extend to the separate dpiac_ (Terraform/Pulumi) or dpx_ (extensions) key families, which still authenticate nothing — see FEATURES.md §Withdrawn Claims.

MethodPathPurpose
GET/POST/api/api-keysList/create
DELETE/api/api-keys/{id}Revoke
POST/api/api-keys/{id}/rotateRotate key

System (10)

MethodPathPurpose
GET/api/system/infoCPU, RAM, disk, OS
GET/api/system/processesRunning processes
GET/api/system/networkNetwork stats
GET/api/system/disk-ioDisk I/O
POST/api/system/cleanupClean temp files
POST/api/system/hostnameChange hostname
GET/api/system/updatesAvailable updates
GET/api/system/updates/countUpdate count
POST/api/system/updates/applyApply updates
POST/api/system/rebootReboot server

Settings (7)

MethodPathPurpose
GET/PUT/api/settingsPanel settings
GET/api/settings/healthHealth check (DB + agent)
POST/api/settings/smtp/testTest email delivery
POST/api/settings/test-webhookTest Slack/Discord webhook
GET/api/settings/exportExport config as JSON
POST/api/settings/importImport config

Logs (10)

MethodPathPurpose
GET/api/logsSystem logs
GET/api/logs/searchSearch logs
GET/api/logs/statsLog statistics
GET/api/logs/sizesLog file sizes
POST/api/logs/truncateTruncate log
GET/api/logs/dockerList Docker containers
GET/api/logs/docker/{container}Container logs
GET/api/logs/service/{service}Service logs
POST/api/logs/check-errorsFind error patterns
GET/api/logs/stream/tokenGet WebSocket token for live streaming

Diagnostics (2)

MethodPathPurpose
GET/api/agent/diagnosticsRun diagnostics (6 categories)
POST/api/agent/diagnostics/fixApply one-click fix

Terminal (3)

MethodPathPurpose
GET/api/terminal/tokenGet WebSocket ticket
POST/api/terminal/shareCreate shareable terminal link
GET/api/terminal/shared/{id}View shared terminal

Migration (6)

MethodPathPurpose
POST/api/migration/analyzeAnalyze cPanel/Plesk/HestiaCP backup
GET/api/migrationList migrations
GET/api/migration/{id}Migration details
POST/api/migration/{id}/importStart import
GET/api/migration/{id}/progressImport progress (SSE)
DELETE/api/migration/{id}Delete migration

WordPress Toolkit (2 global)

MethodPathPurpose
GET/api/wordpress/sitesScan all sites for WordPress
POST/api/wordpress/bulk-updateUpdate plugins/themes across sites

Other

MethodPathPurpose
GET/api/healthAPI health (no auth)
GET/api/brandingPanel branding (no auth)
GET/api/dashboard/intelligenceHealth score + issues
GET/api/dashboard/metrics-historyHistorical charts
GET/api/dashboard/dockerDocker summary
GET/POST/api/ssh-keysSSH key management
DELETE/api/ssh-keys/{fingerprint}Remove SSH key
GET/POST/POST/api/auto-updates/*Auto-update management
GET/POST/api/backup-destinationsRemote backup targets
POST/api/traefik/installInstall Traefik
GET/api/traefik/statusTraefik status
POST/api/traefik/uninstallRemove Traefik
GET/api/ws/metricsWebSocket live metrics
GET/api/activityActivity audit log
GET/api/system-logsSystem event log
GET/POST/api/services/*Service installers (PHP, Certbot, UFW, Fail2Ban)

Backup Orchestrator

MethodPathDescription
GET/api/backup-orchestrator/healthHealth dashboard
GET/api/backup-orchestrator/storage-historyStorage growth (30 days)
POST/api/backup-orchestrator/policiesCreate backup policy
POST/api/backup-orchestrator/policies/protect-allOne-click protect-all
GET/api/backup-orchestrator/policiesList policies
PUT/api/backup-orchestrator/policies/{id}Update policy
DELETE/api/backup-orchestrator/policies/{id}Delete policy
POST/api/backup-orchestrator/db-backupCreate DB backup
GET/api/backup-orchestrator/db-backupsList DB backups
POST/api/backup-orchestrator/db-backups/{id}/restoreRestore DB backup
DELETE/api/backup-orchestrator/db-backups/{id}Delete DB backup
POST/api/backup-orchestrator/volume-backupCreate volume backup
GET/api/backup-orchestrator/volume-backupsList volume backups
POST/api/backup-orchestrator/volume-backups/{id}/restoreRestore volume backup
GET/api/backup-orchestrator/verificationsList verifications
POST/api/backup-orchestrator/verifyVerify the most recent backups
POST/api/backup-orchestrator/drillTrigger end-to-end drill (site/db/volume) — async, returns 202
GET/api/backup-orchestrator/drillsList drills (paginated {items, total})

Incident Management

MethodPathDescription
GET/api/incidentsList incidents
GET/api/incidents/summaryCounts by status, plus open — every status except resolved and postmortem
POST/api/incidentsCreate incident
GET/api/incidents/{id}Get incident
PUT/api/incidents/{id}Update incident
POST/api/incidents/{id}/updatesPost timeline update
GET/api/incidents/{id}/updatesGet timeline
DELETE/api/incidents/{id}Delete incident

Status Page

MethodPathDescription
GET/api/status-page/configGet status page config
PUT/api/status-page/configUpdate config
GET/api/status-page/componentsList components
POST/api/status-page/componentsCreate component
DELETE/api/status-page/components/{id}Delete component
POST/api/status-page/subscribeSubscribe email (public, no auth)
POST/api/status-page/unsubscribeUnsubscribe (public, no auth; DELETE also accepted)
GET/api/status-page/subscribersList subscribers (admin)
GET/api/status-page/publicPublic status payload (no auth)

Secrets Manager

MethodPathDescription
GET/api/secrets/vaultsList vaults
POST/api/secrets/vaultsCreate vault
PUT/api/secrets/vaults/{id}Update vault
DELETE/api/secrets/vaults/{id}Delete vault
GET/api/secrets/vaults/{id}/secretsList secrets
POST/api/secrets/vaults/{id}/secretsCreate secret
PUT/api/secrets/vaults/{id}/secrets/{sid}Update secret
DELETE/api/secrets/vaults/{id}/secrets/{sid}Delete secret
GET/api/secrets/vaults/{id}/secrets/{sid}/versionsVersion history
POST/api/secrets/vaults/{id}/inject/{site_id}Inject a vault’s secrets into a site’s env
GET/api/secrets/vaults/{id}/pullPull secrets (CLI)
GET/api/secrets/vaults/{id}/exportExport vault
POST/api/secrets/vaults/{id}/importImport vault

Webhook Gateway

MethodPathDescription
POST/api/webhooks/gateway/{token}Public inbound receiver. The only unauthenticated route here — the token in the path is the credential
GET/api/webhook-gateway/endpointsList endpoints
POST/api/webhook-gateway/endpointsCreate endpoint
PUT/api/webhook-gateway/endpoints/{id}Pause or resume an endpoint — body {"enabled": bool}
DELETE/api/webhook-gateway/endpoints/{id}Delete endpoint, and every delivery and route recorded against it
GET/api/webhook-gateway/endpoints/{id}/deliveriesList deliveries
POST/api/webhook-gateway/deliveries/{delivery_id}/replayReplay a delivery to its matching routes
GET/api/webhook-gateway/endpoints/{id}/routesList routes
POST/api/webhook-gateway/endpoints/{id}/routesCreate route
PUT/api/webhook-gateway/routes/{route_id}Pause or resume a route — body {"enabled": bool}
DELETE/api/webhook-gateway/routes/{id}Delete route

Notifications

MethodPathDescription
GET/api/notificationsList notifications (limit, before, category, unread)
GET/api/notifications/summaryTotals and per-category counts
GET/api/notifications/unread-countUnread badge count
POST/api/notifications/{id}/readMark as read
POST/api/notifications/read-allMark all read
DELETE/api/notifications/{id}Delete one notification
DELETE/api/notifications/readDelete every notification already read
GET/api/notifications/streamSSE real-time stream

Sessions

MethodPathDescription
GET/api/auth/sessionsList active sessions
DELETE/api/auth/sessions/{id}Revoke session
GET/api/auth/export-my-dataGDPR data export

Deploy Approvals

A Git deployment with deploy_protected set will not build when its owner asks. The request is filed here and a different administrator has to resolve it — the panel surfaces this as Pending Approvals on the Git Deploy page.

MethodPathDescription
GET/api/deploy-approvalsList pending approvals
POST/api/deploy-approvals/{id}/approveApprove, and start the deploy
POST/api/deploy-approvals/{id}/rejectReject, or withdraw your own

GET /api/deploy-approvals returns only requests whose deployment is still protected, on machines this administrator operates — this box, or a server they registered themselves. Each row carries id, deploy_id, deploy_name, repo_url, branch, requested_by, requested_by_email, status and created_at.

approve answers 202 with a fresh deploy_id you can stream, and refuses with:

CodeWhen
403you filed the request yourself
409the request is already resolved, the deployment is no longer protected, or a build is already running
404the request is not on a machine you operate

reject is terminal — the requester has to ask again. It carries no self-rejection rule, deliberately: withdrawing your own request is the only exit on an install with a single administrator, where nobody else can ever approve it.


Panel Self-Update (v2.10.0+, Phase 4 W4)

Admin-only endpoints to drive panel updates from the UI instead of SSH. The orchestrator shells out to scripts/update.sh under DOCKPANEL_NO_SELF_REFRESH=1 + DOCKPANEL_VERSION=<target> rather than reimplementing binary swap — every bug fix in update.sh keeps working.

MethodPathDescription
GET/api/update/statusCurrent update state + version + channel
POST/api/update/manual-checkForce a /releases poll now (bypasses hold)
POST/api/update/applySnapshot + invoke update.sh. {target_version: "v2.10.0"} must match advertised version
POST/api/update/rollbackRestore from snapshot. {snapshot_id: "<uuid>"}. Destructive — DB is also restored. Returns 202 immediately; see below
GET/api/update/channelRead current channel (stable | candidate | hold)
PUT/api/update/channelSet channel. {channel: "candidate"}
GET/api/snapshotsList panel snapshots (newest first)
POST/api/snapshotsCreate a manual snapshot. Empty body. Returns the new snapshot row
DELETE/api/snapshots/{id}Delete a snapshot (file + DB row)
GET/api/update/fleetList recent fleet update runs
POST/api/update/fleetStart a fleet rolling update. {target_version, halt_on_failure?, include_panel?}
GET/api/update/fleet/{id}Fleet run detail (plan + per-server progress)

Rollback is asynchronous, and how you learn the outcome

POST /api/update/rollback returns 202 as soon as the restore has been handed to a detached systemd unit. It cannot return the result: the first thing a restore does is stop dockpanel-api, so the process handling your request no longer exists by the time there is an outcome to report. Validation that can be done up front (snapshot exists, file present, sha256 matches) still happens synchronously, so a bad request is still a 404/410/5xx immediately.

Poll GET /api/update/status afterwards and read last_restore:

{
  "snapshot_id": "…",
  "ok": true,
  "stage": "complete",
  "detail": "restored snapshot …; health: {\"status\":\"ok\"}",
  "finished_at": "2026-07-19T18:16:34Z"
}

stage names the step that was running when the restore stopped, so a failure says where it stopped and what was left untouched. The database is applied in a single transaction, so a rollback that fails during the database stage changes nothing at all. The same document is written to /var/lib/dockpanel/last-restore.json on the box.

What a rollback does and does not rewind. It restores what the snapshot contains: the three binaries, /etc/dockpanel, and the database. The database is a true point-in-time revert — the public schema is dropped and rebuilt from the dump in a single transaction — so database objects created after the snapshot do not survive it, and neither does data written into them. The database as it stood immediately before the rollback is dumped first to /var/lib/dockpanel/pre-rollback-<id>.sql.gz (mode 0600), which is the way back from a rollback you did not mean; the three most recent are kept and older ones are pruned. Nothing outside the snapshot — nginx vhosts, Let’s Encrypt certificates, site files, docker volumes — is touched. A rollback restores the panel, not the machine.

Up to and including v2.11.6 the database stage applied only the dump’s own DROP statements, which merged the snapshot into whatever was already there: tables added by a newer version’s migration outlived the rollback while _sqlx_migrations was rewound past them, and a subsequent update back to that version re-ran the migration against objects that already existed, leaving the panel in a startup crash loop. Rolling back with v2.11.7 or newer replaces the schema outright and is unaffected.

What a fleet rolling update actually does

POST /api/update/fleet builds an ordered plan of your remote servers — oldest agent version first, skipping any that are already at the target and any that have not checked in for five minutes — and returns 202 with a run_id. Poll GET /api/update/fleet (the list endpoint) for progress; it returns every run with its full per-server plan/progress/outcome, which is already everything a single run needs to render — there is no need to additionally fetch a single run by id.

Each member updates its own agent binary: the agent fetches dockpanel-agent-linux-<arch> for the requested release tag, verifies it against that release’s checksums.txt before installing it, swaps it in by rename, restarts itself, and rolls back to the previous binary if the new one does not come up. The result is written to /var/lib/dockpanel/last-agent-update.json on the member. A server that is itself a full DockPanel install runs the ordinary update.sh flow instead.

A member counts as updated only when its /health reports the target version. Nothing infers success from an exit status or from the agent’s own claim — up to v2.11.7 it did, and a fleet run could report success on a box whose update had aborted a second earlier.

With halt_on_failure (the default) the run stops at the first failure and the remaining members are marked skipped. include_panel updates the panel itself after the fleet, and only if every member succeeded.

Upgrading a fleet that is on 2.11.7 or older: the mechanism lives in the agent, so those members cannot be rolled from the panel. They report that they are too old and name the remedy — re-run install-agent.sh on them once to reach 2.11.8, after which fleet updates work normally.

Agent-side (called by the orchestrator over the agent’s bearer-auth API):

MethodPathDescription
POST/panel/updateStart the update on the agent host. {target_version}. Returns immediately
GET/panel/update/statusProgress window + failure reason. Reports running_version; success is confirmed from /health, not from here

Agent auto-update (2.12.0)

Instead of you starting a fleet run, each agent can ask the panel whether it should move. This is off by default, including on upgrade.

MethodPathAuthDescription
GET/api/agent/versionAgent bearer token (the servers row token, not a user session)What version the calling agent should be running
{ "target_version": "v2.12.0" }     // move to this
{ "target_version": null }          // do nothing

null is the answer whenever Settings → Telemetry → Updates → Agent Auto-Update is off, or the update channel is on Hold. Hold wins over the switch. The decision is made by the panel, not the agent: an agent only ever learns things by asking, so the panel is the only place a switch can actually take effect.

The target is always the release the panel itself is running — an agent is never pushed ahead of its panel, and the release that built the panel also built that agent asset, so it is guaranteed to exist.

An agent that is behind checks in on its own schedule (first check an hour after start, then roughly every 6 hours with jitter so a fleet does not arrive at once) and runs the same updater a fleet rolling update runs: the download is verified against the release’s own checksums.txt before anything is installed, the swap is atomic within the target directory, and the new agent must answer /health reporting the expected version or it is rolled back. The outcome is written to /var/lib/dockpanel/last-agent-update.json on every exit path.

Rate limit: 120 requests/minute per server, as for the other agent endpoints.

Agents older than 2.12.0 ignore this. They read a different field, so they see nothing to do and carry on — the response deliberately carries no version, download_url or checksum key, so an old agent cannot be walked into an update it has no working code to perform. Bring them forward with a fleet rolling update.

Note: distinct from /system/updates/* (OS-package apt-get mgmt).

Configuration Drift (v2.13.0, Phase 4 W5)

Read-only report answering “is my fleet’s operational posture consistent?”. Because DockPanel is a single hub DB + thin agents, every server’s declared config already lives centrally keyed by server_id, so this is a local cross-server diff — no remote agent call, and an offline member is still comparable. Computed on demand (no background scan). Admin only.

MethodPathDescription
GET/api/drift/serversComparable servers (local first) — reference/target picker source
GET/api/drift?reference=<uuid>&targets=<uuid,uuid>Drift report against the reference server

reference defaults to the local server; targets defaults to every other server. Four entities are compared, each in its most meaningful form:

  • alert_rules — one row per server, whole-row posture diff (the flagship signal: “monitoring is not identical”).
  • sites — per-domain inventory asymmetry (present on one server, not the other) plus per-site config diffs (waf_mode, ssl_enabled, php_version, caches, limits, …) for domains present on both.
  • crons — per (domain, command) job parity.
  • backup_coverage — per-server summary: how many sites have an enabled backup schedule, how many are unprotected, how many destinations exist.

Secret-bearing fields (notify_slack_url, notify_discord_url) are compared by presence only — the report shows set/unset, never the value.

Report only. Reconcile (push a source-of-truth server’s config to the others) is deliberately not in this release — it is cross-server mutation with no existing transport, and DockPanel keeps that surface explicit. Comparing a member’s live on-box state against its declared config is likewise a later leg.

CLI Reference

The dockpanel CLI provides full command-line access to all panel operations. It communicates with the agent via Unix socket using the token stored at /etc/dockpanel/agent.token.

Global Options

OptionDefaultDescription
-o, --output <FORMAT>tableOutput format: table or json
--versionPrint version and exit
--helpPrint help

Commands


dockpanel status

Show server status including CPU, memory, disk, and uptime.

dockpanel status
SERVER STATUS
─────────────────────────────────
Hostname:    web-1
OS:          Ubuntu 22.04.4 LTS
Kernel:      6.8.0-106-generic
Uptime:      14 days, 3 hours
Load:        0.12 0.08 0.05

CPU:         3.2% (2 cores)
Memory:      847 MB / 2048 MB (41.4%)
Disk:        12.3 GB / 50.0 GB (24.6%)

JSON output:

dockpanel status -o json

dockpanel sites

List all Nginx sites.

dockpanel sites
DOMAIN                RUNTIME    SSL    STATUS
example.com           php        ✓      active
api.example.com       proxy      ✓      active
blog.example.com      static     ✓      active

Filter by domain:

dockpanel sites -f blog

dockpanel sites create

Create a new site.

dockpanel sites create example.com --runtime php --ssl --ssl-email admin@example.com
ArgumentRequiredDefaultDescription
DOMAINYesDomain name
--runtimeNostaticRuntime type: static, php, or proxy
--proxy-portNoUpstream port (required for --runtime proxy)
--sslNoProvision Let’s Encrypt SSL
--ssl-emailNoEmail for Let’s Encrypt (required with --ssl)
Site created: example.com
  Runtime:  php
  Root:     /var/www/example.com/public
  SSL:      provisioned (expires 2026-06-18)

dockpanel sites info

Show site details.

dockpanel sites info example.com
SITE DETAILS
─────────────────────────────────
Domain:      example.com
Runtime:     php
Root:        /var/www/example.com/public
SSL:         active (expires 2026-06-18)
Created:     2026-03-15 10:30:00

dockpanel sites delete

Delete a site and its Nginx configuration.

dockpanel sites delete example.com
Site deleted: example.com

dockpanel db

List databases.

dockpanel db
NAME              ENGINE      PORT    STATUS     SIZE
mysite_db         mysql       3306    running    245 MB
analytics_db      postgres    5433    running    1.2 GB

Filter by name:

dockpanel db -f analytics

dockpanel db create

Create a new database in a Docker container.

# Prefer --password-stdin — a bare --password is visible to other local
# users via `ps`/`/proc` for the life of the process and lands in shell
# history.
echo -n "s3cureP@ss" | dockpanel db create blog_db --engine mysql --password-stdin --port 3307

# Or omit both --password and --password-stdin for an interactive, masked prompt.
dockpanel db create blog_db --engine mysql --port 3307
ArgumentRequiredDescription
NAMEYesDatabase name
--engineYesEngine: mysql, mariadb, or postgres
--passwordNoRoot/admin password. Discouraged — visible via shell history and ps.
--password-stdinNoRead the root/admin password from stdin instead
--portYesHost port to expose

If neither --password nor --password-stdin is given, the CLI prompts interactively.

Database created: blog_db
  Engine:    mysql
  Port:      3307
  Container: dockpanel-db-blog_db

dockpanel db delete

Delete a database container.

dockpanel db delete abc123def456

dockpanel apps

List Docker apps.

dockpanel apps
NAME           IMAGE                   PORT    STATUS     DOMAIN
ghost          ghost:5-alpine          2368    running    blog.example.com
grafana        grafana/grafana:latest  3000    running    metrics.example.com
n8n            n8nio/n8n:latest        5678    running    —

Filter by name or domain:

dockpanel apps -f grafana

dockpanel apps templates

List all available app templates.

dockpanel apps templates
ID                CATEGORY      NAME             DESCRIPTION
ghost             cms           Ghost            Modern publishing platform
wordpress         cms           WordPress        Popular CMS and blogging platform
grafana           monitoring    Grafana          Observability dashboards
prometheus        monitoring    Prometheus       Metrics collection
uptime-kuma       monitoring    Uptime Kuma      Uptime monitoring
nextcloud         storage       Nextcloud        Self-hosted cloud storage
...
(147 templates across 14 categories)

dockpanel apps deploy

Deploy an app from a template.

dockpanel apps deploy ghost --name my-blog --port 2368 --domain blog.example.com --ssl-email admin@example.com
ArgumentRequiredDescription
TEMPLATEYesTemplate ID (from apps templates)
--nameYesApp name
--portYesHost port
--domainNoDomain for auto reverse proxy + SSL
--ssl-emailNoEmail for Let’s Encrypt (requires --domain)
Deploying ghost as "my-blog"...
  Pulling image: ghost:5-alpine
  Starting container on port 2368
  Configuring reverse proxy: blog.example.com → localhost:2368
  Provisioning SSL for blog.example.com
App deployed: my-blog (blog.example.com)

dockpanel apps stop

dockpanel apps stop abc123def456

dockpanel apps start

dockpanel apps start abc123def456

dockpanel apps restart

dockpanel apps restart abc123def456

dockpanel apps remove

dockpanel apps remove abc123def456

dockpanel apps logs

View container logs.

dockpanel apps logs abc123def456

dockpanel apps compose

Deploy from a Docker Compose file.

dockpanel apps compose /path/to/docker-compose.yml

A stack deployed this way carries no domain. To front a stack with a domain — over Let’s Encrypt or a registered certificate — create it through the panel (POST /api/stacks), which records how the domain is served. Registered certificates are managed from the panel, not the CLI: the CLI speaks to the agent alone, and a certificate the panel’s database does not know cannot be referenced by a stack.


dockpanel services

Check service health.

dockpanel services
SERVICE              STATUS      PID     MEMORY
dockpanel-agent      ● running   1234    30 MB
dockpanel-api        ● running   1235    27 MB
nginx                ● running   1236    12 MB
docker               ● running   1237    45 MB
php8.3-fpm           ● running   1238    18 MB
fail2ban             ● running   1239    8 MB
ufw                  ● active    —       —

Filter by service name:

dockpanel services -f nginx

dockpanel ssl

SSL certificate management.

dockpanel ssl status

Check certificate details for a domain.

dockpanel ssl status example.com
SSL Certificate: example.com
  Issuer:      R11
  Expires:     2026-06-13 09:41:07.0 +00:00:00
  Remaining:   85 days

The days remaining are coloured: green above 30, amber above 7, red at or below. A domain with no certificate prints No SSL certificate for example.com.

dockpanel ssl provision

Provision a Let’s Encrypt certificate.

dockpanel ssl provision example.com --email admin@example.com --runtime php
ArgumentRequiredDefaultDescription
DOMAINYesDomain name
--emailYesLet’s Encrypt email
--runtimeNostaticSite runtime: static, php, or proxy
--proxy-portNoUpstream port (for proxy runtime)
--forceNoIssue even if the installed certificate came from elsewhere — it will be replaced

Ordering over somebody else’s certificate is refused. Provisioning writes fullchain.pem and privkey.pem into /etc/dockpanel/ssl/<domain>/, so a domain already serving a purchased, Origin CA or corporate PKI certificate would have it destroyed rather than refreshed. The agent checks the installed certificate’s issuer first and refuses by name:

Refusing to issue a Let's Encrypt certificate for example.com: the certificate
already installed there was issued by DigiCert Inc, not by DockPanel, and
ordering would overwrite it. Renew it wherever it was issued, or pass --force if
you intend to replace it.

A certificate whose issuer cannot be read is not treated as somebody else’s — refusing on doubt is how a real certificate lapses. The same guard covers dockpanel sites create --ssl and dockpanel apply, because it lives at the point where the file is written rather than at each command.

There is no dockpanel ssl renew. Renewal is the panel’s job — the weekly security scan reissues what it owns, including Compose stacks since 2.161.0.


dockpanel backup

Backup management.

dockpanel backup create

dockpanel backup create example.com
Creating backup for example.com...
✓ Backup created
  File:    example.com-20260320-143022.tar.gz
  Size:    45.2 MB
  Content: files only

! This archive contains the site's files but NOT its databases.
  The CLI talks to the agent directly and cannot resolve a site's databases.
  Create the backup from the panel (or the panel API) to include them.

CLI backups never include databases — the agent has no access to the panel’s database records. Create the backup from the panel if you need one that holds the site’s content.

dockpanel backup list

dockpanel backup list example.com

dockpanel backup restore

dockpanel backup restore example.com example.com_2026-03-20_143022.tar.gz
Restoring example.com from example.com_2026-03-20_143022.tar.gz...
✓ Backup restored
  Content: files only (this archive holds no database)

Restoring an archive that carries database dumps works from the CLI when a panel API key is configured (Settings → API Keys, saved to /etc/dockpanel/backend.token) — backup restore prefers that path automatically, restoring files and databases through the same route the panel UI’s own Restore button uses, then following its progress stream to completion.

Without a configured key, backup restore falls back to the older agent-direct path (files only, same behavior as before this existed): it fails on a DB-bearing archive rather than restoring the files and calling that success, and its error message points you at minting a key or restoring from the panel instead.

dockpanel backup delete

dockpanel backup delete example.com example.com_2026-03-18_020000.tar.gz

dockpanel logs

View system and site logs.

dockpanel logs
OptionDefaultDescription
-d, --domainDomain for site-specific logs
-t, --typesyslogLog type: syslog, nginx, auth, php, mysql
-n, --lines50Number of lines to show
-f, --filterFilter text (substring match)
-s, --searchSearch pattern (regex)

Examples:

# View system log
dockpanel logs

# View Nginx error log for a site
dockpanel logs -d example.com -t nginx -n 100

# Search for errors in auth log
dockpanel logs -t auth -s "Failed password"

# Filter PHP logs
dockpanel logs -t php -f "Fatal error" -n 200

dockpanel security

Security overview.

dockpanel security
Security Overview
  Firewall:    active
  Fail2ban:    active
  SSH root:    disabled
  SSH password: disabled

dockpanel security scan

Run a security scan.

dockpanel security scan
Running security scan...
Scan Results
  Risk level:  warning

  [warning] Unexpected open port: 3306
  [warning] SSH password authentication still enabled
  [info]    Unattended upgrades not configured

3 finding(s)

Risk level and each finding’s severity are one of critical/warning/info, derived from the findings the scan actually returns — there is no separate numeric score.

dockpanel security firewall

List firewall rules.

dockpanel security firewall
#      TO           ACTION     FROM
1      22/tcp       ALLOW IN   Anywhere
2      80/tcp       ALLOW IN   Anywhere
3      443/tcp      ALLOW IN   Anywhere
4      8443/tcp     ALLOW IN   Anywhere

dockpanel security firewall add

Add a firewall rule.

dockpanel security firewall add --port 3000 --proto tcp --action allow
dockpanel security firewall add --port 5432 --proto tcp --action allow --from 10.0.0.0/8
OptionDefaultDescription
--portPort number
--prototcpProtocol: tcp or udp
--actionallowAction: allow or deny
--fromSource IP or CIDR (optional)

dockpanel security firewall remove

Remove a rule by number.

dockpanel security firewall remove 4

dockpanel top

Show top processes by CPU usage.

dockpanel top
PID      CPU%    MEM%    COMMAND
1234     12.3    2.1     /usr/sbin/mysqld
5678     8.7     1.4     php-fpm: pool www
9012     3.2     0.8     nginx: worker process
1357     2.1     1.2     dockpanel-agent
2468     1.8     1.1     dockpanel-api

dockpanel php

PHP version management.

dockpanel php
VERSION    STATUS     FPM SOCKET
8.1        installed  /run/php/php8.1-fpm.sock
8.3        installed  /run/php/php8.3-fpm.sock

dockpanel php install

Install a PHP version.

dockpanel php install 8.4

Supported versions: 8.1, 8.2, 8.3, 8.4, 8.5.


dockpanel diagnose

Run server diagnostics across 6 categories.

dockpanel diagnose
DIAGNOSTICS
─────────────────────────────────
[✓] Nginx configuration valid
[✓] All SSL certificates valid (next expiry: 85 days)
[✓] Disk usage: 24.6% (12.3 GB / 50 GB)
[✓] Memory usage: 41.4% (847 MB / 2048 MB)
[✓] Docker: 5 containers running, 0 unhealthy
[!] PHP-FPM: high average response time (320ms)
[✓] Fail2Ban: 3 jails active
[✓] Firewall: active

Score: 95/100 (1 warning)

dockpanel export

Export server configuration as YAML (Infrastructure as Code).

# Print to stdout
dockpanel export

# Save to file
dockpanel export -O config.yml

Sample output:

version: "1"
sites:
  - domain: example.com
    runtime: php
    ssl: true
  - domain: api.example.com
    runtime: proxy
    proxy_port: 3000
    ssl: true
databases:
  - name: mysite_db
    engine: mysql
    port: 3306
apps:
  - name: ghost
    template: ghost
    port: 2368
    domain: blog.example.com

dockpanel apply

Apply server configuration from a YAML file.

# Dry run (show what would change)
dockpanel apply config.yml --dry-run

# Apply changes
dockpanel apply config.yml --email admin@example.com
ArgumentRequiredDescription
FILEYesPath to YAML config file
--dry-runNoShow changes without applying
--emailNoEmail for Let’s Encrypt SSL provisioning

apply only creates resources that are missing — for sites, databases, apps and PHP versions it never diffs or updates something that already exists, even if the file describes it differently now (e.g. a changed proxy_port or php_version on an existing site is silently ignored). Cron jobs are the one exception: a matching id already in the crontab is compared and re-synced if its schedule or command changed. Firewall rules in an exported file are shown for reference only — apply never creates, updates, or removes them; manage those with dockpanel security firewall.

Dry run output:

Plan:
  + site: staging.example.com (static)
  = site: api.example.com (already exists)
  + database: staging_db (postgres, port 5434)
  + cron: nightly-backup (0 2 * * * /opt/scripts/backup.sh)
  = cron: log-rotate (already exists, unchanged)

3 to create, 2 existing

dockpanel completions

Generate shell completions.

# Bash
dockpanel completions bash > /etc/bash_completion.d/dockpanel

# Zsh
dockpanel completions zsh > ~/.zfunc/_dockpanel

# Fish
dockpanel completions fish > ~/.config/fish/completions/dockpanel.fish

Supported shells: bash, zsh, fish, powershell, elvish.

Troubleshooting

Log Locations

DockPanel services run via systemd. View their logs with journalctl:

# Agent logs
journalctl -u dockpanel-agent -n 100 --no-pager

# API logs
journalctl -u dockpanel-api -n 100 --no-pager

# Follow logs in real-time
journalctl -u dockpanel-agent -f

# Logs since last boot
journalctl -u dockpanel-agent -b

For verbose output, set the log level in the service config:

# Edit /etc/dockpanel/api.env and add:
RUST_LOG=debug

# Then restart:
systemctl restart dockpanel-api

Other useful logs

# Nginx access/error logs
tail -50 /var/log/nginx/error.log
tail -50 /var/log/nginx/access.log

# Per-site Nginx logs
tail -50 /var/log/nginx/example.com.access.log
tail -50 /var/log/nginx/example.com.error.log

# PHP-FPM
journalctl -u php8.3-fpm -n 50 --no-pager

# Fail2Ban
tail -50 /var/log/fail2ban.log

# Mail (Postfix)
tail -50 /var/log/mail.log

Common Issues

Panel shows 502 Bad Gateway

Cause: The DockPanel agent is not running.

Fix:

# Check agent status
systemctl status dockpanel-agent

# Start it if stopped
systemctl start dockpanel-agent

# Check for errors
journalctl -u dockpanel-agent -n 50 --no-pager

Also check the API service:

systemctl status dockpanel-api
journalctl -u dockpanel-api -n 50 --no-pager

Cause: The login cookie carries the Secure flag, which browsers only return over HTTPS, while the panel is being served over plain HTTP.

Fix: serve the panel over HTTPS — BASE_URL has nothing to do with it.

The Secure flag is decided by the scheme nginx reports for the actual connection (X-Forwarded-Proto), not by any setting. Keying it off BASE_URL was the cause of issue #71 and was removed: BASE_URL is https://<domain> as soon as a domain is configured, which forced a Secure cookie the browser then dropped whenever the vhost was still answering over HTTP. Editing BASE_URL will not change the cookie.

Installs from v2.31.0 onward do not hit this: with a domain the panel gets a Let’s Encrypt certificate, and without one it gets a self-signed certificate, so the panel is served over HTTPS either way. If you are on an older install serving plain HTTP, either re-run the installer with PANEL_DOMAIN=your.domain, or put a certificate in front of the panel vhost (/etc/nginx/sites-available/dockpanel-panel).

BASE_URL is still worth setting correctly — it is what the panel uses to build links in outgoing notifications and runbooks — it simply is not what gates the cookie.


Site shows 404 Not Found

Cause: Either the document root is empty, or the DNS is not pointing to the server.

Fix:

  1. Check the document root exists and has files:

    ls -la /var/www/example.com/public/
    
  2. If the directory is empty, DockPanel should have created a default index.html. Re-create the site from the panel.

  3. Check DNS is pointing to this server:

    dig example.com +short
    

    The result should be your server’s public IP.

  4. Check the Nginx config exists and is valid:

    ls /etc/nginx/sites-enabled/example.com
    nginx -t
    

PHP site shows 502 Bad Gateway

Cause: PHP-FPM is not installed or not running.

Fix:

# Check if PHP-FPM is installed
php -v

# Check the service
systemctl status php8.3-fpm

# Install PHP if missing (via CLI)
dockpanel php install 8.3

# Or install from the panel: Settings > Service Installers > PHP-FPM

# Restart PHP-FPM
systemctl restart php8.3-fpm

Verify the Nginx config references the correct PHP-FPM socket:

grep fastcgi_pass /etc/nginx/sites-available/example.com
# Should show: unix:/run/php/php8.3-fpm.sock

SSL provisioning fails

Cause: Let’s Encrypt cannot verify domain ownership.

Before working through this list, check the SSL card on the site itself. DockPanel evaluates the DNS prerequisite before it will attempt issuance, and says which of these it is — see What DockPanel checks for you. If the button is disabled, the reason is on screen.

Fix:

  1. DNS must resolve:

    dig example.com +short
    # Must return something
    

    Usually this is the server’s own public IP. It does not have to be: a domain behind Cloudflare’s proxy resolves to Cloudflare’s addresses and issuance still succeeds, because the proxy passes the challenge request through to this server. A domain that resolves to nothing is the case that cannot work.

  2. Port 80 must be open (HTTP-01 challenge):

    ufw status | grep 80
    # Should show: 80/tcp ALLOW Anywhere
    
    # Open it if blocked:
    ufw allow 80/tcp
    
  3. Nginx must be running:

    systemctl status nginx
    
  4. Check for rate limits: Let’s Encrypt allows 5 duplicate certificates per domain per week. If you hit the limit, wait 7 days or use a different subdomain.

  5. Retry:

    dockpanel ssl provision example.com --email you@example.com --runtime static
    

Agent won’t start

Cause: Missing directories, port conflicts, or permission issues.

Fix:

# Check the error message
journalctl -u dockpanel-agent -n 50 --no-pager

# Ensure required directories exist
mkdir -p /run/dockpanel
mkdir -p /etc/dockpanel
mkdir -p /var/backups/dockpanel
mkdir -p /var/www/acme

# Check the agent token exists
ls -la /etc/dockpanel/agent.token

# Restart
systemctl restart dockpanel-agent

If you see NAMESPACE errors in the logs, the systemd service may have stale hardening directives. Update the service file:

sudo bash /opt/dockpanel/scripts/update.sh

After reboot, services are down

Cause: Systemd services were not enabled to start on boot.

Fix:

# Enable all DockPanel services
systemctl enable dockpanel-agent
systemctl enable dockpanel-api

# Start them now
systemctl start dockpanel-agent
systemctl start dockpanel-api

# Verify
systemctl status dockpanel-agent
systemctl status dockpanel-api

Also ensure Docker is enabled:

systemctl enable docker
systemctl start docker

Docker apps not accessible after deploy

Cause: The container is running but the reverse proxy is not configured, or the container port is wrong.

Fix:

# Check the container is running
docker ps | grep APP_NAME

# Check the container's port mapping
docker port CONTAINER_ID

# Check Nginx config exists
ls /etc/nginx/sites-enabled/ | grep APP_DOMAIN

# Test Nginx config
nginx -t

# Reload Nginx
systemctl reload nginx

Running Diagnostics

From the CLI

dockpanel diagnose

This checks 6 categories:

  • Nginx configuration validity
  • Resource usage (CPU, RAM, disk)
  • SSL certificate expiry
  • Security configuration
  • Service health
  • Log analysis for errors

From the Panel

The Dashboard shows a health score (0-100) with active issues. Click any issue to see details and one-click fix options.

Go to Security > Diagnostics for a full diagnostic report.

Restarting Services

# Restart all DockPanel services
systemctl restart dockpanel-agent
systemctl restart dockpanel-api

# Restart Nginx
systemctl restart nginx

# Restart PHP-FPM
systemctl restart php8.3-fpm

# Restart Docker
systemctl restart docker

# Restart a specific Docker container
docker restart CONTAINER_ID

Updating DockPanel

sudo bash /opt/dockpanel/scripts/update.sh

The update script pulls the latest code, rebuilds binaries, updates systemd service files, creates any new required directories, and restarts services with zero-downtime rollback if the health check fails.

For servers using pre-built binaries:

INSTALL_FROM_RELEASE=1 sudo bash /opt/dockpanel/scripts/update.sh

Getting Help

  • GitHub Issues: github.com/ovexro/dockpanel/issues – Report bugs or request features
  • Discussions: Use GitHub Issues for questions and community support
  • Email: hello@dockpanel.dev for priority support inquiries