System Requirements
Before installing Dokploy, ensure your server meets the following requirements:Operating System
Ubuntu 20.04+ (recommended), Debian 11+, or any Docker-compatible Linux distribution
Hardware
Minimum 1GB RAM (2GB+ recommended), 10GB free disk space
Network
Public IP address and open ports 80 (HTTP) and 443 (HTTPS)
Access
Root or sudo access to the server
Quick Installation
The easiest way to install Dokploy is using the official installation script. This script handles all dependencies and configuration automatically.Run the installation script
Execute the Dokploy installation command:The script will:
- Install Docker Engine 28.5.2 (if not already installed)
- Pull the latest Dokploy Docker image
- Set up PostgreSQL database
- Configure Traefik for reverse proxy and SSL
- Start all required services
The installation process typically takes 2-5 minutes depending on your server’s internet connection.
Access the dashboard
Once installation completes, access the Dokploy dashboard:You’ll be prompted to create your admin account on first access.
Alternative Installation Methods
Installation with Docker Compose
Installation with Docker Compose
If you prefer to manage Dokploy with Docker Compose, you can create your own Then start the services:
docker-compose.yml file:docker-compose.yml
Installation on Specific Cloud Providers
Installation on Specific Cloud Providers
DigitalOcean
- Create a Droplet with Ubuntu 22.04
- Select at least the 2GB RAM option
- SSH into your droplet
- Run the installation command
AWS EC2
- Launch an EC2 instance with Ubuntu Server 22.04
- Use t3.small or larger instance type
- Configure security group to allow ports 80, 443, and 3000
- SSH into your instance and run the installation command
Hetzner Cloud
- Create a CX22 or larger server with Ubuntu 22.04
- Add firewall rules for ports 80, 443, and 3000
- SSH into your server and run the installation command
Behind a Firewall or Private Network
Behind a Firewall or Private Network
If you’re installing Dokploy behind a firewall or in a private network:
- Ensure your server can access:
dokploy.com(for installation script)get.docker.com(for Docker installation)docker.ioandghcr.io(for Docker images)
- Configure your firewall to allow:
- Inbound: ports 80, 443, 3000
- Outbound: ports 80, 443 (for external services)
- If using a proxy, configure Docker to use it before installation:
What Gets Installed
The Dokploy installation includes several components:Docker Engine
Docker Engine
Docker 28.5.2 is installed with all necessary dependencies:
- Container runtime
- Docker CLI
- Docker Compose V2
- Containerd
Build Tools
Build Tools
Multiple build systems for different application types:
- Nixpacks 1.41.0 - Universal build system (recommended)
- Railpack 0.15.4 - Optimized for Ruby on Rails
- Buildpacks 0.39.1 - Cloud Native Buildpacks
Core Services
Core Services
Essential services for Dokploy operation:
- PostgreSQL 16 (database)
- Traefik (reverse proxy and load balancer)
- Dokploy API and Web UI
Utilities
Utilities
Additional tools installed:
- rclone - For backup operations to external storage
- git-lfs - For Git repositories with large files
- rsync - For efficient file synchronization
Post-Installation Configuration
Configure SSL/TLS
Dokploy uses Traefik for automatic SSL certificate provisioning via Let’s Encrypt.To enable HTTPS:
- Navigate to Settings > Server
- Enter your domain name
- Configure Let’s Encrypt email
- Save changes
Set up Git providers (optional)
Connect GitHub, GitLab, or Bitbucket for seamless deployments:
- Go to Settings > Git Providers
- Click Add Provider
- Authenticate with your provider
- Grant necessary permissions
Verifying Installation
To verify Dokploy is running correctly:Troubleshooting Installation
Installation script fails
Installation script fails
If the installation script fails:
- Check your internet connection
- Ensure you have sudo/root access
- Verify system requirements are met
- Check the logs:
journalctl -xe - Try running the script again
Cannot access dashboard
Cannot access dashboard
If you can’t access the dashboard at port 3000:
- Check firewall rules:
sudo ufw status - Allow port 3000:
sudo ufw allow 3000 - Verify Dokploy is running:
docker ps | grep dokploy - Check logs:
docker logs dokploy
Docker permission errors
Docker permission errors
If you encounter Docker permission errors:Or for specific directories:
Password reset
Password reset
If you’ve lost your admin password:Follow the prompts to create a new password.
Updating Dokploy
To update Dokploy to the latest version:Uninstalling Dokploy
To completely remove Dokploy from your system:Next Steps
Quickstart Guide
Learn the basics of using Dokploy
First Deployment
Deploy your first application
Core Concepts
Understand projects, applications, and databases
Configuration
Configure server settings and integrations