.claude/skills/ts-dokploy/SKILL.md
Expert guidance for Dokploy, the open-source, self-hosted Platform as a Service alternative to Vercel, Netlify, and Heroku. Helps developers deploy applications, databases, and services on their own VPS with automatic SSL, Docker-based isolation, and a web dashboard for management.
npx skillsauth add eliferjunior/Claude dokployInstall 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.
Dokploy, the open-source, self-hosted Platform as a Service alternative to Vercel, Netlify, and Heroku. Helps developers deploy applications, databases, and services on their own VPS with automatic SSL, Docker-based isolation, and a web dashboard for management.
Deploy Dokploy on any VPS with one command:
# Install Dokploy (requires Ubuntu 22.04+ or Debian 12+, minimum 1GB RAM)
curl -sSL https://dokploy.com/install.sh | sh
# Access the dashboard at https://your-server-ip:3000
# Default credentials are set during installation
# Or install with Docker Compose manually
git clone https://github.com/Dokploy/dokploy.git
cd dokploy
docker compose up -d
Deploy applications from Git repositories:
# dokploy.yml — Application configuration (optional, can use dashboard)
name: my-api
type: application
# Source configuration
source:
type: github
repository: myorg/my-api
branch: main
autoDeploy: true # Deploy on every push
# Build configuration
build:
type: dockerfile # dockerfile | buildpacks | nixpacks
dockerfilePath: ./Dockerfile
context: .
# Runtime configuration
runtime:
port: 3000
replicas: 2
resources:
memory: 512M
cpu: 0.5
healthCheck:
path: /health
interval: 30s
timeout: 10s
# Environment variables
env:
NODE_ENV: production
DATABASE_URL: ${DATABASE_URL} # Reference from Dokploy secrets
# Domain configuration
domains:
- host: api.myapp.com
https: true # Auto-provision SSL with Let's Encrypt
forceHttps: true
Provision managed databases alongside your applications:
# Deploy PostgreSQL
databases:
- name: main-db
type: postgresql
version: "16"
storage: 10Gi
backup:
enabled: true
schedule: "0 2 * * *" # Daily at 2 AM
retention: 7 # Keep 7 days
- name: cache
type: redis
version: "7"
storage: 1Gi
- name: search
type: mariadb
version: "11"
storage: 5Gi
Deploy complex multi-service applications:
# docker-compose.yml — Deployed as a Dokploy compose project
version: "3.8"
services:
api:
build:
context: ./api
dockerfile: Dockerfile
ports:
- "3000:3000"
environment:
- DATABASE_URL=postgresql://postgres:${DB_PASSWORD}@db:5432/myapp
- REDIS_URL=redis://redis:6379
depends_on:
- db
- redis
deploy:
replicas: 2
worker:
build:
context: ./worker
dockerfile: Dockerfile
environment:
- DATABASE_URL=postgresql://postgres:${DB_PASSWORD}@db:5432/myapp
- REDIS_URL=redis://redis:6379
depends_on:
- db
- redis
db:
image: postgres:16-alpine
volumes:
- pgdata:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=${DB_PASSWORD}
- POSTGRES_DB=myapp
redis:
image: redis:7-alpine
volumes:
- redisdata:/data
volumes:
pgdata:
redisdata:
// scripts/deploy.ts — Automate Dokploy via REST API
const DOKPLOY_URL = "https://dokploy.myserver.com";
const DOKPLOY_TOKEN = process.env.DOKPLOY_TOKEN!;
async function dokployFetch(path: string, options?: RequestInit) {
return fetch(`${DOKPLOY_URL}/api${path}`, {
...options,
headers: {
Authorization: `Bearer ${DOKPLOY_TOKEN}`,
"Content-Type": "application/json",
...options?.headers,
},
}).then((r) => r.json());
}
// Trigger a deployment
async function deploy(applicationId: string) {
return dokployFetch(`/application/${applicationId}/deploy`, {
method: "POST",
});
}
// Get application logs
async function getLogs(applicationId: string, lines = 100) {
return dokployFetch(`/application/${applicationId}/logs?lines=${lines}`);
}
// Update environment variables
async function updateEnv(applicationId: string, envVars: Record<string, string>) {
const envString = Object.entries(envVars)
.map(([k, v]) => `${k}=${v}`)
.join("\n");
return dokployFetch(`/application/${applicationId}`, {
method: "PATCH",
body: JSON.stringify({ env: envString }),
});
}
# Built-in monitoring features:
# - Container CPU/memory usage graphs
# - Deployment history with logs
# - SSL certificate expiration alerts
# - Disk usage monitoring
# - Docker container health status
# Webhook notifications for deployment events
notifications:
- type: webhook
url: https://hooks.slack.com/services/xxx
events: [deploy_success, deploy_failure, health_check_failure]
- type: email
to: [email protected]
events: [deploy_failure, ssl_expiring]
User request:
I have a Node.js API and a React frontend running in Docker. Set up Dokploy for monitoring/deployment.
The agent creates the necessary configuration files based on patterns like # Install Dokploy (requires Ubuntu 22.04+ or Debian 12+, min, sets up the integration with the existing Docker setup, configures appropriate defaults for a Node.js + React stack, and provides verification commands to confirm everything is working.
User request:
Dokploy is showing errors in our application deployment. Here are the logs: [error output]
The agent analyzes the error output, identifies the root cause by cross-referencing with common Dokploy issues, applies the fix (updating configuration, adjusting resource limits, or correcting syntax), and verifies the resolution with appropriate health checks.
X-Forwarded-For and X-Forwarded-Proto headersdevelopment
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.