Overview
Projects in Dokploy are the top-level organizational unit that contain environments and services. Each project can have multiple environments (e.g., production, staging, development) with their own applications, databases, and compose services.Create Project
Create a new project in your organization.string
required
The name of the project.
string
Optional description of the project.
string
Project-level environment variables (KEY=VALUE format, one per line).
Response
object
The created project object.
object
The default environment created with the project.
cURL
Get Project
Retrieve details about a specific project including all environments and services.string
required
The unique identifier of the project.
Response
Returns the project with nested environments containing applications, databases (postgres, mysql, mariadb, mongo, redis), and compose services.cURL
List All Projects
Get all projects in your organization.Response
Returns an array of projects with their environments and service summaries.cURL
Update Project
Update project configuration.string
required
The ID of the project to update.
string
New project name.
string
New project description.
string
Project-level environment variables.
cURL
Delete Project
Delete a project and all its environments and services.string
required
The ID of the project to delete.
cURL
Duplicate Project
Create a copy of an environment, optionally including services.string
required
The environment ID to duplicate from.
string
required
Name for the new project or environment.
string
Description for the duplicated project.
boolean
default:true
Whether to copy services from the source environment.
array
Specific services to duplicate. If not provided, all services are copied.Each service object contains:
id(string) - The service IDtype(string) - One of:application,postgres,mariadb,mongo,mysql,redis,compose
boolean
default:false
If true, creates a new environment in the same project. If false, creates a new project.
cURL
Search Projects
Search and filter projects in your organization.string
General search query (searches name and description).
string
Filter by project name (partial match).
string
Filter by description (partial match).
number
default:20
Number of results to return (1-100).
number
default:0
Number of results to skip for pagination.
Response
array
Array of matching projects.
number
Total count of matching projects.
cURL