dokploy
БесплатноБез исполняемых скриптовНе проверенDokploy is an open-source, self-hosted platform (an alternative to Heroku, Vercel and Netlify) that deploys applications, Docker Compose stacks and databases…
от TerminalSkills★ 221 звезда на GitHubОб этом скилле
Dokploy — Self-Hosted PaaS
Overview
Dokploy runs as a Docker Swarm service on your server, with Traefik in front as the reverse proxy and Postgres for its own state. Everything is organised as project → environment → service, where a service is an application (one container built from a Git repository or pulled as an image), a compose project, or a database. Configuration lives in the dashboard, the HTTP API and the CLI. There is no dokploy.yml file in the repository: build and runtime settings are stored by Dokploy, not read from your code.
Instructions
1. Install
The documented installer is a shell script from dokploy.com that is meant to be piped straight into a root shell. Do not run it that way. Every release publishes the same script as an asset with a SHA-256 digest on its GitHub release page, so download it, compare, read it, then run it:
# Docker first, from your distribution or Docker's package repository; without it the script fetches a second installer
docker --version
curl -sSfL -o install.sh https://github.com/Dokploy/dokploy/releases/download/v0.30.8/install.sh
echo "534679c2f2730d369302df4e938d4dfaec177731b6d91cb87d8ecc7ca7cbc9bd install.sh" | sha256sum -c -
less install.sh
sudo sh install.sh
Take the digest from the release page of the version you install (shown next to the asset). What the script does: checks that ports 80, 443 and 3000 are free, runs docker swarm leave --force and docker swarm init, creates the dokploy-network overlay network and /etc/dokploy, then starts dokploy-postgres, the dokploy service and a dokploy-traefik container. On a machine that already belongs to a swarm this destroys that swarm; follow the manual installation page instead.
Variables the script reads (pass them inline, sudo drops exported ones): ADVERTISE_ADDR=10.0.0.5 to pick the swarm address, DOCKER_SWARM_INIT_ARGS="--default-addr-pool 172.20.0.0/16 --default-addr-pool-mask-length 24" to avoid a clash with a cloud VPC range, ENDPOINT_MODE=dnsrr for kernels without IPVS (Proxmox LXC is detected automatically).
sudo ADVERTISE_ADDR=10.0.0.5 sh install.sh
Then open http://203.0.113.10:3000 (your server's address, plain HTTP) and create the admin account. Assign the panel its own domain with HTTPS in the dashboard's server settings, confirm that the domain works, and only then close the raw port (otherwise you lock yourself out):
docker service update --publish-rm "published=3000,target=3000,mode=host" dokploy
Update: download and verify the newer release's install.sh and run sudo sh install.sh update. It pulls the dokploy/dokploy image with the tag the script was released with (here v0.30.8) and updates the dokploy service.
2. Deploy an application
In a project, create an Application and set:
- Source — GitHub (auto-deploys on push once the GitHub app is connected), GitLab, Bitbucket, Gitea, any Git URL with an SSH key, a Docker image, or a dropped archive.
- Build type — Nixpacks (default), Railpack (its successor), Dockerfile, Heroku or Paketo buildpacks, or Static (served by Nginx from a publish directory). Nixpacks and Railpack are tuned with environment variables such as
NIXPACKS_BUILD_CMD,NIXPACKS_START_CMD,RAILPACK_BUILD_CMD,RAILPACK_START_CMD. - Environment — plain
KEY=valuelines.${{project.DATABASE_URL}}and${{environment.API_KEY}}reference shared variables defined on the project or environment;${{OTHER_VAR}}references a variable of the same service. - Domains — host, container port, HTTPS on/off and certificate (
letsencrypt,noneorcustom). A generatedtraefik.medomain works for HTTP only. For Let's Encrypt, point the DNS A record at the server first. Domain changes on applications apply immediately. - Advanced — replicas, CPU and memory limits, volumes and file mounts, published ports, Swarm settings.
Building on a small server can exhaust its memory and freeze every app on it. For production, build the image in CI, push it to a registry, set the source to Docker, and trigger the deployment through the registry webhook or the API (section 5).
3. Deploy a Docker Compose project
Create a Compose service (type Docker Compose, or Stack for docker stack deploy where build: is not available), point it at the repository and the compose path, and adapt the file:
# docker-compose.yml
services:
api:
build:
context: ./api
expose:
- "3000"
env_file:
- .env # Dokploy writes the Environment tab into .env next to this file
depends_on:
- db
worker:
build:
context: ./worker
environment:
- DATABASE_URL=${DATABASE_URL}
- REDIS_URL=redis://redis:6379
db:
image: postgres:17-alpine
environment:
- POSTGRES_PASSWORD=${DB_PASSWORD}
- POSTGRES_DB=orders
volumes:
- pgdata:/var/lib/postgresql/data
redis:
Установить dokploy в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл dokploy?
Dokploy is an open-source, self-hosted platform (an alternative to Heroku, Vercel and Netlify) that deploys applications, Docker Compose stacks and databases on your own server with Docker Swarm and Traefik, a web dashboard, automatic Let's Encrypt certificates and an HTTP API. Use when a user asks to "install Dokploy on a VPS", "deploy an app with Dokploy", "deploy a docker-compose project to Dokploy", "add a domain with HTTPS", "trigger a Dokploy deployment from CI", "create a Postgres database in Dokploy" or "set up zero-downtime deploys".
Как установить скилл dokploy?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dokploy запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic