The docker-compose-yaml command is used to up, down, start, stop a Docker Compose YAML code on an instance.
JSON Input Data Format

    {
        "id": string,
        "yaml": string,
        "action": string
    }

id * | Specifies the ID of the instance where the Docker Compose will be executed.
yaml * | Specifies the Docker Compose YAML code.
action * | Specifies the compose action to be executed, which can be one of the following: up Is used for deploying and starting the solution. down Is used for stopping and removing the solution. start Is used for starting the solution. stop Is used for stopping the solution.

* Indicates a mandatory field.

Code Snippets
Here are several code snippets provided for your direct use. Simply select your preferred tool/language by clicking on it.
Successful Response

    {
        "result": "OK",
        "payload": "...the output of the command..."
    }

Failed Response

    {
        "result": "ERR",
        "message": "Error message ..."
    }