domain_add
Give a Service a public domain: a hostname the member owns, or with Ployz Cloud a generated one under the cluster domain. Staged until the next Deploy. A custom hostname comes back with the DNS records the member must create. This call asks no human.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Container port it reaches. Default: the container's PORT. | |
| prefix | No | Prefix for a generated domain, PREFIX.cluster-domain; needs Ployz Cloud. Omit both prefix and hostname for a free one. | |
| project | No | Project name. | |
| service | Yes | ||
| hostname | No | A hostname the member owns, e.g. app.example.com. Not with prefix. | |
| environment | No | Environment name, e.g. staging. | |
| expect_revision | No | Writes only if the place is still at this revision. |