Dokploy on Your Own Server. Part 1: What is Dokploy, and why use it?
All parts of the series “Dokploy on Your Own Server”I write a lot about Kubernetes, but not every project needs Kubernetes. When a small team has a few services and needs to ship a product and find its first customers, maintaining a cluster can easily become a project of its own.
The underlying requirements remain: build the application, update it, serve it over HTTPS, provide configuration, and recover from failures. But a Linux server, Docker Compose, and a deployment process you understand can be a reasonable starting point. This is the scenario that makes Dokploy interesting to me.
In this short series, we will follow the whole path: understand the platform, install the panel, connect GitHub and a private registry, and release a .NET application through GitHub Actions. The last part examines the details that surfaced while setting up one of my pet projects.

A panel over familiar tools
Dokploy is a deployment platform you can run on your own servers. Install it on a Linux machine, then use its web interface to create a project, choose an application source, set variables and a domain, and start a deployment.
The tools underneath remain familiar. Docker runs containers. Git stores source code or configuration. A registry supplies images. Traefik receives HTTP requests and routes them to the right service. The panel connects these steps and exposes their status.
An application has two separate paths:
New version: GitHub Actions → registry → Dokploy → container
User request: HTTPS → Traefik → container
The build does not have to run on the Dokploy server. In this series, GitHub Actions builds the image and the server downloads it. On a small VPS, this leaves more memory for the application instead of the compiler.
Application and Docker Compose
You can create an Application in Dokploy, connect a repository, and choose a build method. The platform also supports Dockerfiles and prebuilt container images. This works well when a single application is the unit you deploy.
The other option is Docker Compose. Git contains a YAML file describing services, networks, volumes, and routes. Dokploy retrieves it and starts the containers. For an application with several components, deployment configuration can live alongside the rest of the infrastructure files.
Compose and Stack are separate modes in the interface. Stack deploys through Docker Swarm; regular Compose uses Docker Compose. Installing the panel in Swarm does not require every application to be deployed as a Stack. We will use regular Compose in the practical parts.
What the platform gives us
One panel brings together Git providers, private repositories and registries, environment variables, and domains. Traefik handles routing and can obtain Let's Encrypt certificates. Deployment history, operation output, container logs, and resource information help with day-to-day work.
There are templates, database features, notifications, and backup support for supported resources. Check the capability for each service type: a Backup button for one database does not mean every bind mount in an arbitrary Compose project is automatically backed up.
GitHub integration can trigger updates after a push. The API helps when the conditions are more specific: run tests, publish images, and only then request a deployment. That is the process we will build in part three.
These integrations have different permissions. A GitHub App grants repository access. Registry credentials allow an image pull. A Dokploy API key permits service operations. Connecting GitHub successfully does not replace the other two permissions.
What the panel will not solve
A single server remains a single point of failure. A convenient interface does not provide a second copy of your data, a spare host, or a tested recovery procedure. The OS and Docker still need updates, access to the panel needs restrictions, and disk space needs monitoring.
A secret in Environment stays out of Git, but it still exists on the server and is accessible to platform or container administrators. A Dokploy backup also needs protection because it may contain sensitive configuration.
A successful deployment means the platform completed an operation. Separately check that the application responds on its domain, can reach its dependencies, and runs the expected version. A Docker health check alone does not prove that traffic switches without downtime.
Where this fits
I would consider this setup for a small product, an internal service, or a few websites a team is comfortable running on one server. It is particularly useful when the application is already containerized and described with Compose.
If you need availability across hosts, complex network policies, or Kubernetes features your team already relies on, compare the complete operating model. Replacing one YAML file with another does not automatically simplify the system.
Next, we will install Dokploy on a dedicated Ubuntu VM, serve its panel over HTTPS, and configure GitHub, email, and GHCR access.
Only registered users can leave a comment.
Sign in or register to leave a comment.