Comprehensive skill for operating Dokploy via the official Dokploy CLI (oclif-based). Use when users ask to authenticate, verify access, or manage Dokploy projects, environments, apps, env vars, and databases from the terminal. Includes robust oclif parsing rules and a safe help-first workflow to avoid subcommand/positional-arg confusion.
Use this skill to manage Dokploy from the command line using the official Dokploy CLI:
Primary sources of truth:
If anything fails due to version drift, immediately fall back to:
dokploy --helpdokploy <command path> --help
…and adapt to the discovered syntax.delete, stop) without explicit user confirmation.dokploy verify.Dokploy CLI is built on oclif. oclif treats tokens after a command as potential deeper subcommands in many cases. Example:
dokploy project create vibe-kanban can be interpreted as a command lookup like project:create:vibe-kanban, not as “create a project named vibe-kanban”.
Therefore:
dokploy <cmd> --help explicitly documents positional args.-n/--name, -p/--project, -e/--environment, etc.) OR use interactive prompts when the CLI supports them.dokploy <cmd> --help FIRST, then retry with the documented flags.When you need to use any command you are not 100% sure about:
dokploy --help
dokploy <command> --help
# e.g.
dokploy project create --help
Install globally:
npm install -g @dokploy/cli
Verify install:
dokploy --version
dokploy --help
Tokens are generated in the Dokploy dashboard (Settings → Profile → Generate token). Then authenticate via CLI.
Authenticate:
dokploy authenticate
Verify current auth:
dokploy verify
Troubleshooting:
verify fails, run dokploy authenticate again and ensure the server URL + token are correct.List projects:
dokploy project list
Inspect project (if available in your CLI version):
dokploy project info --help
dokploy project info
Create a project (IMPORTANT: use flags or interactive mode; do not pass positional name unless documented):
dokploy project create --help
# Option A (recommended): interactive prompts
dokploy project create
# Option B: use flags (example; confirm with --help)
dokploy project create -n "vibe-kanban"
Create an environment:
dokploy environment create --help
# Option A: interactive prompts
dokploy environment create
# Option B: flags (example; confirm with --help)
dokploy environment create -n "staging" -p "vibe-kanban"
Delete an environment (destructive — confirm with user first):
dokploy environment delete --help
dokploy environment delete
Create an application:
dokploy app create --help
# Option A: interactive prompts
dokploy app create
# Option B: flags (example; confirm with --help)
dokploy app create -n "web" -p "vibe-kanban" -e "staging"
Deploy an application:
dokploy app deploy --help
dokploy app deploy
Stop a running application (service disruption — confirm first):
dokploy app stop --help
dokploy app stop
Delete an application (destructive — confirm first):
dokploy app delete --help
dokploy app delete
dokploy verify
dokploy project list
dokploy project create --help
dokploy project create
dokploy environment create --help
dokploy environment create
dokploy app create --help
dokploy app create
Set environment variables (see Env Vars section)
Deploy:
dokploy app deploy --help
dokploy app deploy
Dokploy CLI supports syncing environment variables through a file.
Pull env vars from Dokploy into a local file:
dokploy env pull --help
dokploy env pull .env.dokploy
Push env vars from a file into Dokploy:
dokploy env push --help
dokploy env push .env.dokploy
Best practices:
.env.dokploy as sensitive; do not commit secrets.dokploy env pull .env.dokploy
# edit .env.dokploy
dokploy env push .env.dokploy
dokploy app deploy
If there are multiple apps/environments, use dokploy env --help to confirm how targets are selected (flags vs prompts).
Dokploy CLI supports managing:
General pattern:
dokploy database <type> create
dokploy database <type> deploy
dokploy database <type> stop
dokploy database <type> delete
Always run --help first for the specific type to confirm flags/target selection.
MariaDB:
dokploy database mariadb --help
dokploy database mariadb create --help
dokploy database mariadb create
dokploy database mariadb deploy --help
dokploy database mariadb deploy
PostgreSQL:
dokploy database postgresql --help
dokploy database postgresql create --help
dokploy database postgresql create
dokploy database postgresql deploy --help
dokploy database postgresql deploy
MySQL:
dokploy database mysql --help
dokploy database mysql create --help
dokploy database mysql create
dokploy database mysql deploy --help
dokploy database mysql deploy
MongoDB:
dokploy database mongodb --help
dokploy database mongodb create --help
dokploy database mongodb create
dokploy database mongodb deploy --help
dokploy database mongodb deploy
Redis:
dokploy database redis --help
dokploy database redis create --help
dokploy database redis create
dokploy database redis deploy --help
dokploy database redis deploy
Stop/delete (confirm first):
dokploy database postgresql stop --help
dokploy database postgresql stop
dokploy database postgresql delete --help
dokploy database postgresql delete
dokploy verify
dokploy database postgresql create --help
dokploy database postgresql create
dokploy database postgresql deploy --help
dokploy database postgresql deploy
dokploy env pull .env.dokploy
# edit .env.dokploy to include DATABASE_URL / credentials
dokploy env push .env.dokploy
dokploy app deploy
Steps:
Commands (help-first):
dokploy verify
dokploy project list
dokploy project create --help
dokploy project create
dokploy environment create --help
dokploy environment create
dokploy app create --help
dokploy app create
dokploy env push --help
dokploy env push .env.dokploy
dokploy app deploy --help
dokploy app deploy
dokploy verify
dokploy env pull --help
dokploy env pull .env.dokploy
# edit .env.dokploy
dokploy env push --help
dokploy env push .env.dokploy
dokploy app deploy
dokploy verify
dokploy database postgresql create --help
dokploy database postgresql create
dokploy database postgresql deploy --help
dokploy database postgresql deploy
dokploy env push .env.dokploy
dokploy app deploy
Examples:
dokploy app stop
dokploy app delete
dokploy environment delete
dokploy database postgresql stop
dokploy database postgresql delete
Use the dashboard when:
--help doesn’t clarify it.On first use in a session, silently check for a newer version:
https://raw.githubusercontent.com/abpai/skills/main/versions.json.dokploy against this file's metadata.version.dokploy update available (local {X.Y} → remote {A.B}). Would you like me to update it for you first? I can run
npx skills update dokployfor you.