Dokploy provides flexible deployment options for applications built with Node.js, Python, Go, PHP, Ruby, and other languages. Applications can be deployed from Git repositories, Docker images, or uploaded code.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/dokploy/dokploy/llms.txt
Use this file to discover all available pages before exploring further.
Supported Source Types
Dokploy supports multiple source types for deploying applications:- GitHub
- GitLab
- Bitbucket
- Gitea
- Custom Git
- Docker Image
- Drop
Deploy applications from GitHub repositories with automatic webhook integration.
Configuration
- Connect your GitHub account in Dokploy settings
- Select repository, branch, and build path
- Configure trigger type:
- Push: Deploy on every push to the branch
- Tag: Deploy only when tags are created
Watch Paths
Configure specific paths to monitor for changes. Deployments only trigger when files in these paths are modified.If no watch paths are configured, all file changes trigger deployments.
Build Methods
Dokploy supports multiple build methods to accommodate different application types:Nixpacks
Automatic detection and building of applications (default method).
Dockerfile
Build using your custom Dockerfile with full control.
Heroku Buildpacks
Use Heroku-compatible buildpacks for deployment.
Paketo Buildpacks
Cloud-native buildpacks following CNCF standards.
Static
Optimized for static sites and SPAs.
Railpack
Specialized buildpack for Rails applications.
Nixpacks (Recommended)
Nixpacks automatically detects your application type and generates an optimized build plan.Automatic Detection
Nixpacks analyzes your repository and detects:
- Node.js (package.json)
- Python (requirements.txt, Pipfile, pyproject.toml)
- Go (go.mod)
- Ruby (Gemfile)
- PHP (composer.json)
- Rust (Cargo.toml)
- And many more…
Build Configuration
No configuration needed for most applications. Nixpacks handles:
- Dependency installation
- Build commands
- Start commands
- Runtime environment
Dockerfile
Use your own Dockerfile for complete control over the build process.Docker Context Path
Set the build context directory if your Dockerfile requires files from a parent directory:
Heroku Buildpacks
Deploy using Heroku-compatible buildpacks with version selection.Supported Heroku versions: 20, 22, 24 (default)
Static Sites
Optimized deployment for static sites and Single Page Applications (SPAs).Railpack
Specialized buildpack for Ruby on Rails applications.Build Configuration
Build Arguments
Pass build-time variables to your Docker build:Build arguments are available during the build process but not in the running container. Use environment variables for runtime configuration.
Build Secrets
Securely pass sensitive information during build without including in the final image:Git Submodules
Enable submodule support for repositories with Git submodules:Ensure your Git provider credentials have access to all submodule repositories.
Resource Limits
Configure CPU and memory limits for your application:- Memory
- CPU
Memory reservation guarantees available memory. Memory limit is the maximum allowed.
Advanced Configuration
Custom Commands
Override the default container start command:Command Arguments
Pass arguments to the container command:Replicas
Set the number of container instances to run:Multiple replicas require proper application design (stateless, session management, etc.).
Deployment Workflow
Create Application
- Navigate to your project
- Click “Add Service” → “Application”
- Enter application name and description
Configure Source
- Select source type (GitHub, GitLab, etc.)
- Choose repository and branch
- Set build path if using monorepo
Select Build Method
- Choose build type (Nixpacks, Dockerfile, etc.)
- Configure build-specific options
- Set environment variables
Application Status
Dokploy tracks your application through these states:- idle: Application created but not deployed
- running: Deployment in progress
- done: Application deployed and running successfully
- error: Deployment failed (check logs for details)
Cleaning Cache
Force a clean build by enabling “Clean Cache” option:Clean cache rebuilds from scratch, which takes longer but resolves caching issues.
Next Steps
Environment Variables
Configure runtime environment variables
Preview Deployments
Set up automatic preview deployments
Rollbacks
Learn how to rollback deployments
Docker Compose
Deploy multi-container applications