dokploytools
Go CLI to manage multiple Dokploy panels. NAME = panel name; omit it (or use all) to run on every panel.
go build -o dokploytools ./src
ln -sf "$PWD/dokploytools" ~/.local/bin/dpt # short alias: dpt (or: alias dpt=dokploytools)
Or install the prebuilt binary from PyPI: uv tool install dokploytools (or pipx install dokploytools).
Global flags: --json (machine-readable rows, exit 1 if any panel errored) and --watch SECS (repeat).
Panels & config
panel add NAME URL (--key KEY | --user EMAIL --pass PASS)
panel list | panel edit NAME [--url U] [--key K] | panel rm NAME | panel encrypt
- Stored in
~/.config/dokploytools/panels.json(0600). SetDOKPLOYTOOLS_PASSPHRASEand keys are AES-GCM encrypted (scrypt) on save;panel encryptseals an existing file. - No file needed:
DOKPLOY_<NAME>_URL+DOKPLOY_<NAME>_KEYdefine panel<name>(never written to disk).
Overview
projects | status [--project P] | servers [--check] | containers [--stats]
deployments NAME PROJ/SVC | monitor | upgrade [--check]
alert [--cpu 90 --mem 90 --disk 90 --cert-days 14 --no-certs --webhook URL --telegram TOKEN@CHATID]
alert exits 1 when the panel is down, a service/server is in error, a metric is over its limit or an HTTPS domain's cert is near expiry — put it in cron.
Services
svc start|stop|deploy|redeploy NAME PROJ/SVC [--env E] [--wait] # NAME=all hits every panel
env NAME PROJ/SVC [set K=V.. | unset K.. | --file F]
One-line compose deploy from a git repo (creates project/environment/compose if missing, updates if present):
dokploytools deploy prod --repo https://github.com/me/app.git --branch main \
--domain app.example.com --service web --port 3000 --set KEY=val --wait
Other flags: --project P (default = repo name), --env production, --name, --compose-path, --env-file F, --ssh-key-id, --server ID, --auto-deploy, --no-deploy, --no-https; --file compose.yml deploys a local compose file instead of a repo.
Backups
backup [NAME] [--dest D] [--keep N] [--download DIR] # panel (web-server) backup
dbbackup create NAME PROJ/SVC [--dest D --schedule "0 2 * * *" --keep 7 --database DB --prefix P --disabled]
dbbackup list NAME [PROJ/SVC] | run NAME PROJ/SVC [--id B] | set NAME BACKUPID [--schedule --keep --enable false] | rm NAME BACKUPID
dbbackup files NAME --dest D --search PREFIX | download NAME --dest D --search PREFIX --download DIR
dbbackup copy all --dest D --search PREFIX --to-endpoint E --to-bucket B --to-access K --to-secret S [--to-prefix P]
backup/dbbackup run also accept --download DIR and the --to-* flags (or DOKPLOYTOOLS_TO_ENDPOINT/BUCKET/ACCESS/SECRET) to mirror the new file into one central bucket under <to-prefix>/<panel>/. Postgres, MySQL, MariaDB, Mongo supported. Restore is not exposed by Dokploy's REST API (it uses a websocket subscription), so it is not implemented.
Domains, certificates, Traefik
domains | domain add NAME PROJ/SVC --host H --port N [--service S] [--cert letsencrypt|none|custom] [--no-https]
domain rm NAME HOST | domain check NAME [HOST] # panel DNS check + live TLS expiry
cert list NAME | cert add NAME CERTNAME --cert fullchain.pem --key privkey.pem [--domain H] [--auto-renew] | cert rm NAME ID|NAME
traefik get NAME main|web|middleware | traefik get NAME --path FILE | traefik ls NAME
traefik set NAME main|web|middleware --from FILE | traefik reload NAME
For a domain whose DNS is not on the server (CDN/other host, so Let's Encrypt HTTP challenge fails): upload its cert with cert add (validated locally: key pair, expiry, --domain coverage), then add the domain with --cert none; Traefik serves the uploaded cert by SNI. traefik set saves the previous config to traefik-<panel>-<file>-<ts>.bak first.
People
users | member invite NAME EMAIL [--role admin] | member rm NAME USERID | member invitations NAME | member uninvite NAME ID
apikey list|create NAME [--days N]|rm NAME ID | orgs
Status
Endpoint paths and bodies follow the Dokploy docs reference. Untested against a live panel; least certain: project.all nesting (handled for environments and legacy layout), user.getMetricsToken / monitoring port + /metrics, user.getContainerMetrics, auth/organization/invite-member (better-auth), login → API key. Use raw NAME GET PATH to probe. go test ./... runs a mock-server deploy test.
CI & releases
.github/workflows/ci.yml: gofmt check,go vet,go test -raceon every push tomainand every PR..github/workflows/release.yml: after CI passes onmain, python-semantic-release reads the conventional commits since the last tag (feat:minor,fix:/perf:patch,feat!:/BREAKING CHANGEmajor), bumps the version, updatesCHANGELOG.md, tags and creates the GitHub release. If a release was made, the same run builds the binaries (version embedded:dokploytools version), attaches them to the release and publishes the PyPI wheels. Commits without a releasable type (docs:,chore:, …) release nothing. Config:releaserc.toml.
PyPI
Each release also publishes platform wheels (the Go binary + dokploytools/dpt entry points) to PyPI: pipx install dokploytools (or uv tool install dokploytools), then run dpt. Needs the repo secret PYPI_API_TOKEN; versions are plain X.Y.Z (PEP 440). Wheels are built by scripts/build_wheels.py (stdlib only).
Common commands
dokploytools is written in Go, but it follows the same conventions as the Python tools built on cfuicli: same colors, boxed errors and help layout.
dokploytools help [command] # help; -h works on any command
dokploytools version # version and git repository (also: -v)
dokploytools update [--check] # update the tool itself (uv or pipx install, or the release binary)
dokploytools -q ... # quiet: no banner or notes (or DOKPLOYTOOLS_QUIET=1)
- A missing positional argument,
--keyor--passis asked for in a terminal. In a pipe or in CI the command stops with<ARG> is required. - The old
update(upgrade Dokploy on the panels) is nowupgrade;updatealways means the tool itself. --jsonoutput is colored only on a terminal.NO_COLOR=1turns color off.
Metadata
Release files for dokploytools 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| dokploytools-1.1.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for dokploytools-1.1.0-py3-none-win_amd64.whl |
| dokploytools-1.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details for dokploytools-1.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
| dokploytools-1.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details for dokploytools-1.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
| dokploytools-1.1.0-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details for dokploytools-1.1.0-py3-none-macosx_11_0_arm64.whl |
| dokploytools-1.1.0-py3-none-macosx_10_9_x86_64.whl | Python 3 | none | macOS 10.9+ x86-64 | Details for dokploytools-1.1.0-py3-none-macosx_10_9_x86_64.whl |
Total release size: 16.5 MB
Release files / dokploytools-1.1.0-py3-none-win_amd64.whl
| Download URL | dokploytools-1.1.0-py3-none-win_amd64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
8e8dd71182fc549354413f870832e0f8bdedc7b49c4066fd54ac4ce302da14c8
|
|
BLAKE2b-256 checksum How to use checksums |
b3c127edc7fe17d21545c0e34e43db77979e95698b2712b8d21975e3f46db441
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.
Transparency logRelease files / dokploytools-1.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | dokploytools-1.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 3.4 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
db879497dd1f111b9a8868d4a6d3288ef1b7a53647d4d8538f0118be61a9b66b
|
|
BLAKE2b-256 checksum How to use checksums |
91cc1edb21b6e573bec59df9a191770a7c822e8fa7fe5f8d9e719ed77d3fedd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.
Transparency logRelease files / dokploytools-1.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | dokploytools-1.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 3.1 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
296962e5c6a8c1c47fc7f11c6a31f041d4b4237712ba05a04a04a912a3fc1495
|
|
BLAKE2b-256 checksum How to use checksums |
efdd6d0680b8984acab56498fe1dbd425ad3d777ef513b5275ef1149707e2fb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.
Transparency logRelease files / dokploytools-1.1.0-py3-none-macosx_11_0_arm64.whl
| Download URL | dokploytools-1.1.0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 3.1 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
4e5388d2b5eb77f9aa1a90eff497901f7b922bda074a0879e4e3a98b626f070b
|
|
BLAKE2b-256 checksum How to use checksums |
0f45321689476d2dfa2a5bc91293afe2a9b5a2530d460af75a807baaa350a2d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.
Transparency logRelease files / dokploytools-1.1.0-py3-none-macosx_10_9_x86_64.whl
| Download URL | dokploytools-1.1.0-py3-none-macosx_10_9_x86_64.whl |
|---|---|
| Size | 3.4 MB |
| Tags | Python 3 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
f4040a507e67b3e90bb73c50c1edd6a2ea8922140f7fadec334e2c47fb638fcf
|
|
BLAKE2b-256 checksum How to use checksums |
7e1964c1ece8bc3d728c577148b4f9f8975f5a9a995b595cc04a37cac84e58ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.
Transparency logSecurity for dokploytools 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 5 files in this release have been uploaded with provenance metadata.
Attestation for dokploytools-1.1.0-py3-none-win_amd64.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.