Skip to main content

Application Deployment

Dokploy supports multiple application deployment strategies to fit your workflow.

Source Types

Deploy applications from various sources:
Connect to any Git provider for automatic deployments:
  • GitHub: OAuth integration with automatic webhook setup
  • GitLab: Support for self-hosted and GitLab.com
  • Bitbucket: Cloud and self-hosted Bitbucket
  • Gitea: Self-hosted Git service integration
  • Generic Git: Any Git repository via SSH or HTTPS
Features include:
  • Automatic deployments on push
  • Branch selection and switching
  • Submodule support
  • Custom SSH key authentication
  • Watch paths for selective deployments
Pull and deploy pre-built images from:
  • Docker Hub
  • GitHub Container Registry (ghcr.io)
  • GitLab Container Registry
  • Private registries with authentication
  • Custom registry URLs
Upload and deploy applications directly:
  • Drag-and-drop file upload
  • Archive extraction (zip, tar.gz)
  • Direct deployment without Git

Build Systems

Choose the right build system for your application:

Nixpacks

Automatic language detection and building. Zero configuration for most applications.

Heroku Buildpacks

Use the extensive Heroku buildpack ecosystem.

Paketo Buildpacks

Cloud Native Buildpacks for production deployments.

Dockerfile

Complete control with custom Dockerfiles.

Railpack

Optimized builds for Ruby on Rails applications.

Static Sites

Host static files with automatic web server.

Application Configuration

Fine-tune your deployments with advanced options:
Manage environment variables securely:

Database Management

Create and manage production-ready databases with automated setup.

Supported Databases

PostgreSQL

The world’s most advanced open source database.
  • Automatic user and database creation
  • Multiple PostgreSQL versions
  • pgvector support for AI workloads

MySQL

Popular relational database system.
  • Root and user account setup
  • MySQL 5.7, 8.0, 8.4 support
  • Automatic configuration

MongoDB

Leading NoSQL document database.
  • Replica set support
  • MongoDB 4.x, 5.x, 6.x, 7.x
  • Sharding capabilities

MariaDB

MySQL-compatible community database.
  • Drop-in MySQL replacement
  • Enhanced performance
  • Full compatibility

Redis

In-memory data structure store.
  • Cache layer for applications
  • Session storage
  • Message queuing

Custom Databases

Deploy any database using Docker images.

Database Features

Schedule automatic backups to external storage:
  • Destinations: S3, MinIO, local storage, any S3-compatible service
  • Retention: Automatic cleanup of old backups
  • Notifications: Alerts on backup success/failure
  • Scheduling: Flexible cron expressions
Databases use Docker volumes for data persistence:
  • Survives container restarts
  • Can be backed up
  • Migratable across servers
Easy access to connection details:

Docker Compose Support

Deploy complex multi-container applications with full Docker Compose compatibility.

Compose Deployment

Deploy compose files from Git repositories:

Compose Features

Environment Variables

Inject variables into compose services:

Service Isolation

Isolated or shared networking:

Custom Commands

Pre/post deployment commands:

Auto Deploy

Automatic deployments on git push:

Domain Management & Routing

Dokploy integrates with Traefik for automatic routing and SSL certificates.

Domain Configuration

1

Add Domain

Configure custom domains for your applications:
2

SSL Certificates

Automatic SSL with Let’s Encrypt:
  • Automatic certificate provisioning
  • Auto-renewal before expiration
  • Custom certificate resolvers
  • Wildcard certificate support
3

Routing Rules

Advanced Traefik routing:

Advanced Routing

Route different paths to different services:
Configure HTTP to HTTPS and custom redirects:
Distribute traffic across multiple containers:

Multi-Node & Docker Swarm

Scale applications across multiple servers for high availability.

Docker Swarm Integration

Multi-Server Setup

Connect multiple servers to form a cluster:
  • Manager and worker nodes
  • Automatic service distribution
  • Built-in load balancing
  • Failure recovery

Service Replication

Run multiple replicas of your application:

Placement Constraints

Control where services run:

Update Strategies

Zero-downtime rolling updates:

Swarm Configuration

Real-Time Monitoring

Built-in monitoring powered by a Go-based metrics service.

Server Metrics

Monitor your infrastructure in real-time:

Monitoring Features

  • Historical Data: Store metrics for up to 30 days
  • Custom Refresh Rates: Configure collection intervals (default: 25 seconds)
  • Threshold Alerts: Receive notifications when limits are exceeded
  • Container Filtering: Monitor specific services or all containers
  • API Access: Query metrics programmatically via REST API

Notifications & Alerts

Stay informed about deployments, backups, and system events.

Notification Channels

Slack

Send alerts to Slack channels

Discord

Discord webhook integration

Telegram

Telegram bot notifications

Email (SMTP)

Standard email alerts

Resend

Modern email API

Teams

Microsoft Teams webhooks

Gotify

Self-hosted notification server

Ntfy

Simple HTTP notifications

Pushover

Mobile push notifications

Notification Events

Configure which events trigger notifications:

CLI & API Access

Manage Dokploy programmatically for automation and CI/CD integration.

API Features

Full REST API

Complete API for all Dokploy operations
  • Application management
  • Database operations
  • Deployments
  • Monitoring data
  • Server administration

OpenAPI Specification

Auto-generated API documentation
  • Interactive API explorer
  • Type definitions
  • Code generation support

CLI Tool

Command-line interface for server management:

Security Features

  • User account system
  • Organization support
  • Role-based access control
  • API token authentication
  • Automatic Let’s Encrypt certificates
  • Custom certificate upload
  • Wildcard certificate support
  • HTTP to HTTPS redirect
  • Isolated Docker networks
  • Firewall rule management
  • Private network support
  • Security headers configuration
  • Encrypted environment variables
  • Build secrets (not in image layers)
  • Database credential management
  • Registry authentication storage

Additional Features

Templates

One-click deployment of popular applications:
  • Plausible Analytics
  • Pocketbase
  • Cal.com
  • n8n
  • And more…

Git Provider Integration

OAuth integration with:
  • GitHub
  • GitLab
  • Bitbucket
  • Self-hosted instances

Preview Deployments

Automatic preview environments:
  • Per pull request
  • Isolated environments
  • Automatic cleanup

Rollbacks

Easy rollback to previous versions:
  • One-click rollback
  • Deployment history
  • Image registry integration

Next Steps

Get Started

Install Dokploy and deploy your first app

Core Concepts

Learn the fundamental concepts

API Reference

Explore the API documentation

Join Community

Get help and share feedback