NEW Browse AI tools across categories — updated daily. See what's new →

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.

Version1.0.0
LicenseMIT
Token count~1,060
UpdatedJun 5, 2026

Install

Quick install

via npx skills · works with 57+ agents
npx skills add https://github.com/dokku/dokku-postgres
Or pick agent:
npx skills add dokku/dokku-postgres --agent claude-code
npx skills add dokku/dokku-postgres --agent cursor
npx skills add dokku/dokku-postgres --agent codex
npx skills add dokku/dokku-postgres --agent opencode
npx skills add dokku/dokku-postgres --agent github-copilot
npx skills add dokku/dokku-postgres --agent windsurf
More install options

Shorthand — useful for multi-skill repos:

npx skills add dokku/dokku-postgres

Manual — clone the repo and drop the folder into your agent's skills directory:

git clone https://github.com/dokku/dokku-postgres.git
cp -r dokku-postgres ~/.claude/skills/
How to use: Once installed, ask your agent to "use the Dokku skill" or describe what you want (e.g. "Deploy apps with Dokku — self-hosted Heroku alternative on any VPS. Use when: se"). Requires Node.js 18+.

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.

---
name: dokku
description: >-
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.
license: Apache-2.0
compatibility: "Ubuntu 22.04/20.04 or Debian 11/12 VPS"
metadata:
author: terminal-skills
version: "1.0.0"
category: devops
tags: [dokku, self-hosted, paas, heroku-alternative, deployment]
use-cases:


  • "Deploy a Node.js/Python/Ruby app to a DigitalOcean droplet with git push"

  • "Set up Postgres and Redis for a self-hosted SaaS app"

  • "Add custom domain with automatic SSL via Let's Encrypt"


agents: [claude-code, openai-codex, gemini-cli, cursor]
---

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

# 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

# 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

# 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

# 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

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

# 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

# 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

# Scale web processes
dokku ps:scale myapp web=2 worker=1

# View process status
dokku ps:report myapp

Persistent Storage

# Mount a directory (for uploads, etc.)
dokku storage:mount myapp /var/lib/dokku/data/storage/myapp:/app/uploads

Useful Commands

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:

FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --production
COPY . .
EXPOSE 3000
CMD ["node", "server.js"]

Multi-Server Setup

# 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

---

Source: https://github.com/dokku/dokku-postgres.git
Author: TerminalSkills
Discovered via: skillsdirectory.com
Genre: devops

SKILL.md source

---
name: Dokku
description: 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.
---

# 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.

---
name: dokku
description: >-
  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.
license: Apache-2.0
compatibility: "Ubuntu 22.04/20.04 or Debian 11/12 VPS"
metadata:
  author: terminal-skills
  version: "1.0.0"
  category: devops
  tags: [dokku, self-hosted, paas, heroku-alternative, deployment]
  use-cases:
    - "Deploy a Node.js/Python/Ruby app to a DigitalOcean droplet with git push"
    - "Set up Postgres and Redis for a self-hosted SaaS app"
    - "Add custom domain with automatic SSL via Let's Encrypt"
  agents: [claude-code, openai-codex, gemini-cli, cursor]
---

# 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
```


---

**Source**: https://github.com/dokku/dokku-postgres.git
**Author**: TerminalSkills
**Discovered via**: skillsdirectory.com
**Genre**: devops

Related skills 6

microsoft-foundry

★ Featured Official

Deploy, evaluate, and manage Foundry agents end-to-end: Docker build, ACR push, hosted/prompt agent create, container start, batch eval, continuous eval, prompt optimizer workflows, agent.yaml, dataset curation from traces. USE FOR: deploy agent to Foundry, hosted agent, create agent, invoke agent, evaluate agent, run batch eval, continuous eval, continuous monitoring, continuous eval status, optimize prompt, improve prompt, prompt optimizer, optimize agent instructions, improve agent instruc...

microsoft 340k
DevOps & Infrastructure

azure-ai

★ Featured Official

Use for Azure AI: Search, Speech, OpenAI, Document Intelligence. Helps with search, vector/hybrid search, speech-to-text, text-to-speech, transcription, OCR. WHEN: AI Search, query search, vector search, hybrid search, semantic search, speech-to-text, text-to-speech, transcribe, OCR, convert text to speech.

microsoft 338k
DevOps & Infrastructure

azure-deploy

★ Featured Official

Execute Azure deployments for ALREADY-PREPARED applications that have existing .azure/deployment-plan.md and infrastructure files. DO NOT use this skill when the user asks to CREATE a new application — use azure-prepare instead. This skill runs azd up, azd deploy, terraform apply, and az deployment commands with built-in error recovery. Requires .azure/deployment-plan.md from azure-prepare and validated status from azure-validate. WHEN: "run azd up", "run azd deploy", "execute deployment", "p...

microsoft 338k
DevOps & Infrastructure

azure-diagnostics

★ Featured Official

Debug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe triage. WHEN: debug production issues, troubleshoot app service, app service high CPU, app service deployment failure, troubleshoot container apps, troubleshoot functions, troubleshoot AKS, kubectl cannot connect, kube-system/CoreDNS failures, pod pending, crashloop, node not ready, upgrade failures, analyze logs, KQL, insights, image pull failures, cold start issues, health probe failures, resource...

microsoft 338k
DevOps & Infrastructure

azure-resource-lookup

★ Featured Official

List, find, and show Azure resources across subscriptions or resource groups. Handles prompts like "list the websites in my subscription", "list my web apps", "show my app services", "list virtual machines", "list my VMs", "show storage accounts", "find container apps", and "what resources do I have". USE FOR: list websites, list web apps, list app services, show websites in subscription, resource inventory, find resources by tag, tag analysis, orphaned resource discovery (not for cost analys...

microsoft 337k
DevOps & Infrastructure

azure-resource-visualizer

★ Featured Official

Analyze Azure resource groups and generate detailed Mermaid architecture diagrams showing the relationships between individual resources. WHEN: create architecture diagram, visualize Azure resources, show resource relationships, generate Mermaid diagram, analyze resource group, diagram my resources, architecture visualization, resource topology, map Azure infrastructure.

microsoft 337k
DevOps & Infrastructure