selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

dokploy logo

Self-host dokploy

v0.31.2

Deploy apps and databases with Docker Swarm

BetaOpen CoreApache-2.0
Updated3 days ago
LanguageTypescript
Setup difficultyEasy
Stars
38 551
RAM
at least 2GB of RAM
Storage
30GB of disk space
Port
3000 (Dokploy web interface (published as published=3000,target=3000,mode=host))
Docker
dokploy/dokploy
Install with Docker
Applications and databases overview on the marketing site

What is dokploy?

dokploy alternatives

All self-hosted alternatives to Heroku → All self-hosted alternatives to Netlify → All self-hosted alternatives to Vercel →

Should you self-host dokploy?

dokploy scores 80/100 on selfhost.directory (how scoring works) and ranks #2 of 14 in Platform as a Service. It has 38 551 GitHub stars, +780 in the last 30 days.

It shipped 30 stable releases in the past year. The latest, v0.31.2, came out on 13 November 2026. New versions land roughly every 7 days.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is coolify (87/100, 66 126 stars). It scores higher overall, so compare the two before you pick. See dokploy vs coolify side by side.

Features

  • Auto-deploy webhooks
  • Automated database backups
  • CLI and API access
  • Custom domains with auto SSL
  • In-container web terminal
  • Managed database deployment
  • Multi-server deployment
  • One-click app templates
  • Real-time monitoring and logs
  • Role-based user managementFine-grained custom roles need an Enterprise license
  • Rollbacks
  • Scheduled jobs

dokploy README

Dokploy - Open Source Alternative to Vercel, Heroku and Netlify.

Join us on Discord for help, feedback, and discussions!

Discord Shield

Dokploy is a free, self-hostable Platform as a Service (PaaS) that simplifies the deployment and management of applications and databases.

✨ Features

Dokploy includes multiple features to make your life easier.

How to install dokploy

Install dokploy with Docker

Docker with Swarm
Environment variables
POSTGRES_PASSWORD_FILE, BETTER_AUTH_SECRET_FILE, DATABASE_URL, POSTGRES_HOST, POSTGRES_PORT, POSTGRES_USER, POSTGRES_DB, TZ
docker service create \
      --name dokploy \
      --replicas 1 \
      --network dokploy-network \
      --mount type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock \
      --mount type=bind,source=/etc/dokploy,target=/etc/dokploy \
      --mount type=volume,source=dokploy,target=/root/.docker \
      --secret source=dokploy_postgres_password,target=/run/secrets/postgres_password \
      --publish published=3000,target=3000,mode=host \
      --update-parallelism 1 \
      --update-order stop-first \
      --constraint 'node.role == manager' \
      -e POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password \
      dokploy/dokploy:latest

Manual install also creates a dokploy-postgres (postgres:16) service and a dokploy-traefik container publishing 80 and 443.

How to configure dokploy

  • DOKPLOY_VERSIONInstaller variable selecting which version to install (canary or latest stable); a specific version should instead use that release's install.sh

    values: canary, latest

  • ADVERTISE_ADDRIP address or interface the Docker Swarm manager advertises when the installer cannot auto-detect it
  • DOCKER_SWARM_INIT_ARGSExtra arguments for docker swarm init, e.g. a custom address pool to avoid CIDR conflicts with cloud VPCs
  • ENDPOINT_MODESwarm endpoint mode passed to Docker services, used as dnsrr on kernels without IPVS support

    values: dnsrr

  • DATABASE_URLConnection string pointing Dokploy at an existing Postgres instead of the bundled dokploy-postgres service

    values: postgres://user:password@host:5432/dbname

dokploy releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Platform as a Service

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…