VPS_createNewProjectV1
Deploy or replace Docker Compose projects on a virtual machine by providing a URL or raw YAML content. Supports GitHub repositories and custom docker-compose.yaml files for streamlined project setup.
Instructions
Deploy new project from docker-compose.yaml contents or download contents from URL.
URL can be Github repository url in format https://github.com/[user]/[repo] and it will be automatically resolved to docker-compose.yaml file in master branch. Any other URL provided must return docker-compose.yaml file contents.
If project already exists, it will be replaced.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | URL pointing to docker-compose.yaml file, Github repository or raw YAML content of the compose file | |
project_name | Yes | Docker Compose project name using alphanumeric characters, dashes, and underscores only | |
virtualMachineId | Yes | Virtual Machine ID |