Skip to main content

Overview

Docker Compose support in Dokploy allows you to deploy and manage multi-container applications using docker-compose.yml files. You can connect to Git repositories or use raw compose files.

Create Compose Application

Create a new Docker Compose application in your environment.
string
required
Display name for the compose application.
string
required
Unique application identifier (used in container names).
string
required
The environment ID where this compose app will be deployed.
string
Optional description of the application.
string
Server ID for deployment (required for cloud instances).
cURL

Get Compose Application

Retrieve details about a specific compose application.
string
required
The unique identifier of the compose application.
cURL

Update Compose Application

Update configuration for an existing compose application.
string
required
The ID of the compose application to update.
string
The docker-compose.yml content.
string
Environment variables in KEY=VALUE format (one per line).
string
Source of the compose file: github, gitlab, bitbucket, gitea, git, or raw.
cURL

Deploy Compose Application

Trigger a deployment of the compose application.
string
required
The ID of the compose application to deploy.
string
Title for the deployment log entry.
string
Description for the deployment.
cURL

Redeploy Compose Application

Rebuild and redeploy the compose application.
cURL

Start Compose Application

Start all containers in the compose application.
cURL

Stop Compose Application

Stop all containers in the compose application.
cURL

Delete Compose Application

Delete a compose application and optionally its volumes.
string
required
The ID of the compose application to delete.
boolean
default:false
Whether to delete associated Docker volumes.
cURL

Load Services

Retrieve the list of services defined in the compose file.
string
required
The compose application ID.
string
required
The type of deployment: stack or docker-compose.
cURL

Get Converted Compose

Retrieve the processed compose file with domains and configurations applied.
cURL

Deploy from Template

Deploy a compose application from a pre-built template.
string
required
The environment where the template will be deployed.
string
required
The template identifier.
string
Server ID for cloud deployments.
string
Custom base URL for template repository.
cURL

List Templates

Get available compose templates.
cURL

Move Compose Application

Move a compose application to a different environment.
string
required
The ID of the compose application to move.
string
required
The destination environment ID.
cURL