dokku
Deploy apps with Dokku — self-hosted Heroku alternative on any VPS. Use when: self-hosting web apps without Kubernetes, setting up git-push deployments, running PaaS on your own server.
What this skill does
# Dokku ## Overview Dokku is an open-source PaaS that turns any VPS into a Heroku-like platform. Deploy apps with `git push`, manage databases with plugins, and get automatic SSL — all on infrastructure you control. ## Install on VPS ```bash # Ubuntu 22.04 (run as root) wget -NP . https://dokku.com/install/v0.35.0/bootstrap.sh sudo DOKKU_TAG=v0.35.0 bash bootstrap.sh # Set up SSH key and hostname cat ~/.ssh/authorized_keys | dokku ssh-keys:add admin dokku domains:set-global yourdomain.com ``` ## Deploy an App ```bash # On your VPS: create app dokku apps:create myapp # On your local machine: add remote and push git remote add dokku [email protected]:myapp git push dokku main ``` Dokku auto-detects buildpacks (Node.js, Python, Ruby, Go, etc.) or uses your `Dockerfile`. ## Procfile ``` web: node server.js worker: node worker.js release: npm run migrate ``` ## Environment Variables ```bash # Set config vars dokku config:set myapp NODE_ENV=production SECRET_KEY=abc123 # View all vars dokku config:show myapp # Import from .env file cat .env | xargs dokku config:set myapp ``` ## PostgreSQL Plugin ```bash # Install plugin sudo dokku plugin:install https://github.com/dokku/dokku-postgres.git postgres # Create database and link to app dokku postgres:create myapp-db dokku postgres:link myapp-db myapp # Sets DATABASE_URL automatically ``` ## Redis Plugin ```bash sudo dokku plugin:install https://github.com/dokku/dokku-redis.git redis dokku redis:create myapp-redis dokku redis:link myapp-redis myapp # Sets REDIS_URL automatically ``` ## Custom Domains + SSL ```bash # Add domain dokku domains:add myapp myapp.com www.myapp.com # Install Let's Encrypt plugin sudo dokku plugin:install https://github.com/dokku/dokku-letsencrypt.git dokku config:set --global [email protected] # Enable SSL dokku letsencrypt:enable myapp dokku letsencrypt:cron-job --add # auto-renew ``` ## Zero-Downtime Deploys ```bash # Enable checks (waits for app to respond before switching) dokku checks:enable myapp # Or use rolling restarts dokku ps:set-restart-policy myapp always ``` ## Scaling ```bash # Scale web processes dokku ps:scale myapp web=2 worker=1 # View process status dokku ps:report myapp ``` ## Persistent Storage ```bash # Mount a directory (for uploads, etc.) dokku storage:mount myapp /var/lib/dokku/data/storage/myapp:/app/uploads ``` ## Useful Commands ```bash dokku apps:list # List all apps dokku logs myapp -t # Tail logs dokku run myapp bash # Open shell in container dokku ps:restart myapp # Restart app dokku backup # Backup all data ``` ## Dockerfile Deploy Dokku auto-uses your `Dockerfile` if present. Expose a port and Dokku routes traffic to it: ```dockerfile FROM node:20-alpine WORKDIR /app COPY package*.json ./ RUN npm ci --production COPY . . EXPOSE 3000 CMD ["node", "server.js"] ``` ## Multi-Server Setup ```bash # Add additional nodes (Dokku Scheduler) dokku scheduler:set myapp selected docker-local # Or use Kubernetes scheduler plugin for K8s deployments sudo dokku plugin:install https://github.com/dokku/dokku-scheduler-kubernetes.git ```
Related in Cloud & DevOps
appbuilder-action-scaffolder
IncludedCreate, implement, deploy, and debug Adobe Runtime actions with consistent layout, validation, and error handling. Use this skill whenever the user needs to add actions to an App Builder project, understand action structure (params, response format, web/raw actions), configure actions in the manifest, use App Builder SDKs (State, Files, Events, database), deploy and invoke actions via CLI, debug action issues, or implement patterns such as webhook receivers, custom event providers, journaling consumers, large payload redirects, action sequence pipelines, and Asset Compute workers. Also trigger when users mention serverless functions in Adobe context, action logging, IMS authentication for actions, or cron-style scheduled actions.
orchestrating-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. Use this skill when the user needs a multi-step Data Cloud pipeline, cross-phase troubleshooting, or data space and data kit management. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase sf data360 workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching phase-specific skill), the task is STDM/session tracing/parquet telemetry (use observing-agentforce), standard CRM SOQL (use querying-soql), or Apex implementation (use generating-apex).
github-project-automation
IncludedAutomate GitHub repository setup with CI/CD workflows, issue templates, Dependabot, and CodeQL security scanning. Includes 12 production-tested workflows and prevents 18 errors: YAML syntax, action pinning, and configuration. Use when: setting up GitHub Actions CI/CD, creating issue/PR templates, enabling Dependabot or CodeQL scanning, deploying to Cloudflare Workers, implementing matrix testing, or troubleshooting YAML indentation, action version pinning, secrets syntax, runner versions, or CodeQL configuration. Keywords: github actions, github workflow, ci/cd, issue templates, pull request templates, dependabot, codeql, security scanning, yaml syntax, github automation, repository setup, workflow templates, github actions matrix, secrets management, branch protection, codeowners, github projects, continuous integration, continuous deployment, workflow syntax error, action version pinning, runner version, github context, yaml indentation error
sf-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase `sf data360` workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching sf-datacloud-* skill), the task is STDM/session tracing/parquet telemetry (use sf-ai-agentforce-observability), standard CRM SOQL (use sf-soql), or Apex implementation (use sf-apex).
fabric-cli
IncludedUse this skill for Fabric.so CLI workflows with the `fabric` terminal command: diagnose/install/login, search or browse a Fabric library, save notes/links/files, create folders, ask the Fabric AI assistant, manage tasks/workspaces, generate shell completion, check subscription usage, produce JSON output, and use Fabric as persistent agent memory. Do not use for Microsoft Fabric/Azure/Power BI `fab`, Daniel Miessler's Fabric framework, Python Fabric SSH, Fabric.js, or textile/fashion fabric.
lark
IncludedLark/Feishu CLI skills: lark-cli operations for docs, markdown, sheets, base, calendar, im, mail, task, okr, drive, wiki, slides, whiteboard, apps, approval, attendance, contact, vc, minutes, event. Use when the user needs to operate Lark/Feishu resources via lark-cli, send messages, manage documents, spreadsheets, calendars, tasks, OKRs, deploy web pages, or any Feishu/Lark workspace operations.