Installation Commands
Install Dokploy
Install Dokploy on a fresh VPS or server:- Install Docker and required dependencies
- Set up Dokploy containers
- Configure Traefik for routing
- Initialize the database
- Start the Dokploy web interface
Development Commands
These commands are used when contributing to Dokploy or running a local development environment.Setup Development Environment
Start Development Server
http://localhost:3000
Run Server Scripts
Build for Production
Start Production Server
Docker Commands
Build Docker Image
Build Canary Image
Push Docker Image
Utility Commands
Reset Password
If you’ve lost access to your Dokploy instance, reset your admin password:Type Checking
Linting and Formatting
Generate OpenAPI Specification
Run Tests
API Commands via cURL
While Dokploy doesn’t have a dedicated CLI tool, you can interact with it using the REST API viacurl or any HTTP client.
Deploy Application
Create Application
List Applications
Create Database
Get Deployment Logs
Build Pack Commands
Dokploy supports multiple build strategies. Install these tools for local development:Install Nixpacks
Install Railpack
Install Buildpacks
Environment Variables
Common environment variables used by Dokploy:Command Aliases
Create helpful aliases for common operations:~/.bashrc or ~/.zshrc
Advanced Usage
Webhooks for Deployment
Trigger deployments via webhooks without API tokens:Docker Socket Permission Fix
If you encounter Docker permission issues:Next Steps
Automation Guide
Learn how to automate deployments and workflows
API Reference
Explore the complete API documentation