VPS_createNewProjectV1
Deploy a Docker Compose project to a Hostinger VPS using YAML content or a repository URL. Replaces any existing project with the same name.
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 with the same name already exists, existing project will be replaced.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| virtualMachineId | Yes | Virtual Machine ID | |
| project_name | Yes | Docker Compose project name using alphanumeric characters, dashes, and underscores only | |
| content | Yes | URL pointing to docker-compose.yaml file, Github repository or raw YAML content of the compose file | |
| environment | No | Project environment variables |