Trigger a service redeploy in Portainer via webhook

domain: docs.portainer.io · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. In Portainer, select Services, open the target service, and toggle Service webhook on
  2. Copy the generated webhook URL (https://<portainer>/api/webhooks/<uuid>)
  3. Configure your registry (e.g. Docker Hub) or CI pipeline to POST to that URL on a push/build event to redeploy with the latest image of the same tag
  4. To roll to a different tag instead, POST with a ?tag=<newtag> query parameter
  5. For Business Edition, pass additional environment variables as query parameters (e.g. ?SERVICE_TAG=development) referenced in the compose file as ${SERVICE_TAG:-stable}

Known gotchas

Related routes

configure a FieldRoutes trigger rule to fire an outbound webhook when a service or subscription event occurs
fieldroutes.com · 5 steps · unrated
Trigger a Spinnaker pipeline execution via webhook
spinnaker.io/docs · 5 steps · unrated
Trigger a Home Assistant automation from an external IoT service using a webhook
home-assistant.io · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans