/dokploy-dev:create-db <name> --project <project> --type <postgres|mysql|mariadb|mongo|redis|libsql> [--password <pass>]from dokploy-dev
Create and deploy a database in a Dokploy project
Ships in dokploy-dev. Installing the plugin adds it to Claude Code.
Follow the mcp-patterns skill (${CLAUDE_PLUGIN_ROOT}/skills/mcp-patterns/SKILL.md) for the database tool pattern and usage notes; read it before the first call.
Create and deploy a database instance in a Dokploy project.
Format: <name> --project <project> --type <postgres|mysql|mariadb|mongo|redis|libsql> [--password <pass>]
Parse from "$ARGUMENTS".
Resolve project (same as create-app command), then resolve the target environment: project-one { projectId } → environments[] (default production); or environment-byProjectId { projectId }. If several, ask the user.
Create database using the type-specific MCP tool:
postgres-createmysql-createmariadb-createmongo-createredis-createlibsql-createPass name, environmentId (NOT projectId), plus the per-type REQUIRED fields:
databaseName, databaseUser, databasePassworddatabaseUser, databasePassworddatabasePassworddatabaseUser, databasePassword, plus its extra required fields (sqldNode, enableNamespaces, …) — see libsql-create in the full index for defaultsDeploy database using {type}-deploy with the created database ID.
Display result:
Show database ID, name, type, status. Include internal connection details (host, port, credentials) and suggest using {type}-saveExternalPort if external access is needed.
/dokploy-dev:create-db "main-db" --project my-saas --type postgres
/dokploy-dev:create-db "cache" --project my-saas --type redis
/dokploy-dev:create-db "analytics" --project data --type mongo --password "secure123"
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
14 commands in this plugin
/add-domainAdd DomainAdd a custom domain to a Dokploy application/analyzeAI-Analyse a FailureAI-summarise a failed Dokploy deployment or a crashing container via the configured ai provider/cleanupDokploy Server CleanupReclaim disk space on the Dokploy server with a guided cleanup chain/compose-logsRead All Compose Container LogsRead the logs of EVERY container in a Dokploy Docker Compose stack and highlight errors/create-appCreate ApplicationCreate a new application in a Dokploy project/create-projectCreate ProjectCreate a new Dokploy projectnpx claudepluginhub agents-store/claude-plugins --plugin dokploy-dev