Deploy service
deploy_serviceDeploy a catalog service to a worker by pulling its image and starting containers; redeploy to apply new settings, with omitted env keys retaining saved values.
Instructions
Deploy a catalog service on one worker: CashPilot pulls the image and starts its container(s). Deploying a service that already runs there redeploys it with the new settings; keys left out of env keep their saved values. The env keys a service needs (account email, token, ...) are listed in list_available_services. Can take a few minutes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Environment variables for the container, as string values, e.g. {"EMAIL":"me@example.com","PASSWORD":"..."}. | |
| slug | Yes | Service to deploy. Lowercase catalog slug, e.g. "honeygain"; list_deployed_services and list_available_services show them. | |
| hostname | No | Device name the provider shows for this node. Default: CashPilot's own. | |
| instances | No | Copies to run on this worker, 1 to 10. Many providers allow one per IP; CashPilot refuses more where that is the case. Default: keep the current number, 1 for a new deployment. | |
| worker_id | No | Worker (server) to act on, from list_workers. Required when more than one worker is online; with a single online worker CashPilot picks it. |