.claude/skills/ts-dokku/SKILL.md
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.
npx skillsauth add eliferjunior/Claude dokkuInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
# 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
# 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.
web: node server.js
worker: node worker.js
release: npm run migrate
# 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
# 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
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
# 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
# Enable checks (waits for app to respond before switching)
dokku checks:enable myapp
# Or use rolling restarts
dokku ps:set-restart-policy myapp always
# Scale web processes
dokku ps:scale myapp web=2 worker=1
# View process status
dokku ps:report myapp
# Mount a directory (for uploads, etc.)
dokku storage:mount myapp /var/lib/dokku/data/storage/myapp:/app/uploads
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
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"]
# 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
development
Expert guidance for Fireworks AI, the platform for running open-source LLMs (Llama, Mixtral, Qwen, etc.) with enterprise-grade speed and reliability. Helps developers integrate Fireworks' inference API, fine-tune models, and deploy custom model endpoints with function calling and structured output support.
development
Convert any website into clean, structured data with Firecrawl — API-first web scraping service. Use when someone asks to "turn a website into markdown", "scrape website for LLM", "Firecrawl", "extract website content as clean text", "crawl and convert to structured data", or "scrape website for RAG". Covers single-page scraping, full-site crawling, structured extraction, and LLM-ready output.
tools
Expert guidance for Firebase, Google's platform for building and scaling web and mobile applications. Helps developers set up authentication, Firestore/Realtime Database, Cloud Functions, hosting, storage, and analytics using Firebase's SDK and CLI.
development
When the user needs to build file upload functionality for a web application. Use when the user mentions "file upload," "image upload," "upload endpoint," "multipart upload," "presigned URL," "S3 upload," "file validation," "upload to cloud storage," or "accept user files." Handles upload endpoints, file validation (type, size, magic bytes), cloud storage integration, and upload status tracking. For image/video processing after upload, see media-transcoder.