Easypanel icon

Easypanel

Interact with Easypanel API to manage projects, services, users, monitors and settings

Service → Update Deploy

AI-generated

Summary

Update an Easypanel service’s deploy settings for the selected project and service. Set its replica count and restart policy, with optional maximum restarts for the “On Failure” policy and an optional container command override.

Inputs

  • Service Type — Select App, MariaDB, MongoDB, MySQL, PostgreSQL, or Redis; defaults to App and determines the service API endpoint.
  • Project Name (required) — Name of the project containing the service.
  • Service Name (required) — Name of the service to update.
  • Replicas — Number of service replicas; defaults to 1 and allows 0 or more.
  • Restart Policy — Choose Always, On Failure, Unless Stopped, or No; defaults to Unless Stopped.
  • Max Restarts — Maximum restart attempts, included only when the policy is On Failure; defaults to 5.
  • Command Override — Optional container command override. When left empty, the request omits the command so the image default can be used.

Output shape

One output item per input item, containing the Easypanel API response data as JSON.

Sends the selected deploy settings to the service’s updateDeploy API endpoint. API errors stop execution unless Continue On Fail is enabled, in which case an item containing error details is returned.

Links

Discussion