portainer_stack_deploy
Deploy a new Docker stack from a docker-compose YAML string. Provide stack name and compose content to create the stack.
Instructions
Deploy a new stack from a docker-compose string.
Args: name: Name of the new stack compose_content: Docker Compose file content (YAML string) endpoint_id: Target endpoint ID (uses default if omitted)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| compose_content | Yes | ||
| endpoint_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |