Overview
This quickstart guide walks you through the core features of Dokploy, from creating your first project to deploying an application. By the end, you’ll understand how to manage applications, databases, and deployments.Before starting, ensure you have installed Dokploy on your server and created your admin account.
Understanding Dokploy’s Structure
Dokploy organizes your deployments using a simple hierarchy:Projects are logical groupings that help organize related applications and databases. For example, you might have separate projects for “Production”, “Staging”, or different clients.
Your First Project
Projects are the top-level containers for organizing your applications and databases.Create a new project
- Log in to your Dokploy dashboard at
http://your-server-ip:3000 - Click Create Project on the dashboard
- Enter a project name (e.g., “my-first-project”)
- Optionally add a description
- Click Create
Deploy Your First Application
Let’s deploy a sample application from a Git repository.Add an application
From your project dashboard:
- Click the Applications tab
- Click Create Application
- Enter an application name (e.g., “hello-world”)
- Choose Git as the source type
Configure the Git source
Connect your Git repository:For private repositories:
- Add an SSH key or personal access token
- Navigate to Settings > Git Providers
- Authenticate with your Git provider
- Select the authenticated provider when creating the application
Select build method
Choose how Dokploy should build your application:
- Nixpacks (Recommended)
- Dockerfile
- Buildpacks
Automatically detects your application type and builds appropriately.Supports:
- Node.js / TypeScript
- Python
- Go
- Ruby
- PHP
- Rust
- And more…
Configure environment variables (optional)
Add environment variables your application needs:
- Click Environment Variables
- Click Add Variable
- Enter key-value pairs:
Set port and domains (optional)
Configure how users access your application:Port Configuration:
- Enter the port your application listens on (e.g.,
3000,8080)
- Click Domains
- Click Add Domain
- Enter your domain (e.g.,
app.example.com) - Dokploy will automatically configure SSL with Let’s Encrypt
Create a Database
Dokploy makes it easy to provision and manage databases.Add a database
From your project dashboard:
- Click the Databases tab
- Click Create Database
- Choose your database type
Configure database settings
Optional configurations:
- Port: External port for database access (default: standard port for each DB type)
- Volume: Persistent storage path (automatically configured)
- Memory Limit: Restrict memory usage (e.g.,
512m,1g) - CPU Limit: Restrict CPU usage (e.g.,
0.5,1.0)
Create and start the database
- Click Create Database
- Wait for the container to start (usually 10-30 seconds)
- Copy the connection string from the database details page
Monitor Your Deployments
Dokploy provides real-time monitoring for all your resources.- Application Monitoring
- Database Monitoring
- System Monitoring
View application metrics:
- Open your application
- Click the Monitoring tab
- CPU Usage - Current and historical CPU consumption
- Memory Usage - RAM utilization over time
- Network I/O - Incoming and outgoing traffic
- Logs - Real-time application logs
Essential Operations
Common tasks you’ll perform regularly:Redeploying an application
Redeploying an application
Trigger a new deployment:
- Open your application
- Click Deploy in the top right
- Choose:
- Redeploy - Use the same code
- Deploy Latest - Pull latest from Git
- Go to application Settings
- Enable Auto Deploy
- Every Git push will trigger a deployment
Viewing logs
Viewing logs
Access application logs:
- Open your application
- Click Logs
- Use filters:
- Time range - Last hour, day, week
- Log level - Error, warn, info, debug
- Search - Find specific text
Scaling applications
Scaling applications
Adjust resource limits:
- Open application Settings
- Scroll to Resources
- Set limits:
Managing environment variables
Managing environment variables
Update environment variables:
- Open application Settings
- Go to Environment Variables
- Add, edit, or remove variables
- Click Save
- Click Redeploy to apply changes
Backing up databases
Backing up databases
Configure automatic backups:
- Open your database
- Click Backups
- Click Configure Backup
- Choose:
- Schedule - Daily, weekly, or custom cron
- Destination - S3, local, or other storage
- Retention - How many backups to keep
- Click Enable
Stopping and starting services
Stopping and starting services
Control application lifecycle:
- Open your application or database
- Use the controls:
- Stop - Gracefully shut down
- Start - Start the container
- Restart - Stop and start
- Delete - Permanently remove (WARNING: cannot be undone)
Using Templates
Dokploy includes one-click templates for popular open-source applications.Browse templates
- From the dashboard, click Templates
- Browse available templates:
- Plausible Analytics
- Pocketbase
- Cal.com
- Ghost CMS
- And many more…
Deploy a template
- Click on a template
- Review the description and requirements
- Click Deploy
- Configure any required settings:
- Domain name
- Admin credentials
- Environment-specific variables
- Click Deploy Template
Next Steps
Now that you understand the basics, explore more advanced features:Deploy from Git
Detailed walkthrough of deploying a real application
Docker Compose
Deploy multi-container applications
Custom Domains
Set up custom domains with automatic SSL
Database Backups
Configure automated database backups
Notifications
Get alerts for deployments and errors
CLI & API
Automate with command line and API
Getting Help
If you run into issues:Documentation
Check the troubleshooting guide
Discord Community
Get help from the community
GitHub Issues
Report bugs or request features
FAQ
Common questions and answers