Set Docker Compose Configuration
coolify_set_compose_configConfigure domain-to-service mapping, compose file location, and optional label reset for Traefik routing in Docker Compose applications.
Instructions
Configure compose-specific fields for a dockercompose application: domain-to-service mapping, compose file location, and optionally clear stale custom_labels. This is required after creating a compose app to set up Traefik routing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"uuid": "<uuid>",
"instance": "<instance>"
},
"name": "coolify_set_compose_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | The UUID of the resource | |
| reveal | No | Reveal redacted secret values in the response (default false; the call is audited) | |
| instance | Yes | REQUIRED — which Coolify instance to mutate: 'prod' (Hetzner VPS) or 'dev' (local OrbStack VM). No default: state the target explicitly so a write never lands on prod by accident. | |
| reset_labels | No | Clear custom_labels so Coolify auto-generates from domain config (default: true) | |
| docker_compose_domains | No | Service-to-domain mapping for Traefik routing | |
| docker_compose_location | No | Path to compose file in the repo (default: /docker-compose.yml) | /docker-compose.yml |