expose_service
Expose a Docker container by checking it runs, optionally adding a Cloudflare CNAME, and creating an Nginx Proxy Manager host that forwards a domain to a host and port; shows the plan before changes.
Instructions
Expose a container: check it runs, add a Cloudflare CNAME to tunnel_hostname (only if given), and add an Nginx Proxy Manager host that forwards domain to forward_host:forward_port. The plan is shown to the person before anything changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| dry_run | No | ||
| dns_zone_id | No | ||
| forward_host | No | host.docker.internal | |
| forward_port | Yes | ||
| container_name | Yes | ||
| tunnel_hostname | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| errors | No | ||
| dry_run | No | ||
| planned | No | ||
| success | No | ||
| approved_by | No | ||
| steps_completed | No |