(5/5)

Start/Stop a Docker service

What it does: This workflow is built for managing docker compose services via a http post request to turn on or off that service... Setup: Add your credentials for basic auth and ssh Copy the custom webhook url and get started! Example: curl curl -X POST -u "username:password" https://<your-domain>/start/nextcloud Info: This worklow is only for docker compose not for the docker engine cli!

Integrations Used (2)

Workflow Structure (12 nodes)
100%
Ssh
Start
If
Started?
Respond To Webhook
Respond - Started
Respond To Webhook
Respond - Started Already
Webhook
Webhook
If
Exist Route?
Stop And Error
Stop and Error
If
Action??
Ssh
Stop
If
Stopped?
Respond To Webhook
Respond - Stopped
Respond To Webhook
Respond - Already Stopped
Node Types:
trigger
default
logic
Requires credentials

Prerequisites

Required Credentials (2)

HTTP Basic Auth

Used by: Webhook

Docs

Ssh Password

Used by: Start, Stop

Docs

Complexity

Complex

Advanced features used. Requires n8n experience.

Setup time: ~35 min
Score: 50/100
Conditional Logic
4 Integrations

When to Use This Workflow

Real-time Response

React instantly when events happen - new orders, form submissions, or API calls.

Zero delay between trigger and action for time-sensitive workflows.

Time Savings

Replace repetitive manual tasks with reliable automation.

Reclaim hours every week for higher-value work.

Error Reduction

Eliminate human error from routine processes with consistent automation.

Improve accuracy and reliability across your workflows.

workflow.json
{
  "name": "Start/Stop a Docker service",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "docker/:action/:service",
        "authentication": "basicAuth",
        "responseMode": "responseNode",
        "options": {}
      },
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2.1,
      "position": [
        -1984,
        320
      ],
      "id": "e5953025-eff5-4aaa-9367-93314eee7c91",
      "name": "Webhook",
      "webhookId": "de42a9a3-38fe-40a9-a0ea-891a82c021e5",
...

Workflow Details

Nodes
13
Trigger
Webhook
Source
awesome
Added
Dec 4, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

Update Server

What it does: This workflow is built for updating your linux system with a single API Request which can be automated in...

Webhook
Ssh
4 nodesWebhook
Curated

puq-docker-minio-deploy

Automated workflow: puq-docker-minio-deploy. This workflow integrates 9 different services: webhook, stickyNote, code, s...

Webhook
Ssh
33 nodesWebhook

puq-docker-influxdb-deploy

Automated workflow: puq-docker-influxdb-deploy. This workflow integrates 9 different services: webhook, stickyNote, code...

Webhook
Ssh
33 nodesWebhook

puq-docker-n8n-deploy

Automated workflow: puq-docker-n8n-deploy. This workflow integrates 9 different services: webhook, stickyNote, code, swi...

Webhook
Ssh
34 nodesWebhook

PUQ Docker NextCloud deploy

Automated workflow: PUQ Docker NextCloud deploy. This workflow integrates 10 different services: webhook, stickyNote, ht...

Webhook
Http-request
Ssh
44 nodesWebhook

puq-docker-immich-deploy

Automated workflow: puq-docker-immich-deploy. This workflow integrates 9 different services: webhook, stickyNote, code,...

Webhook
Ssh
35 nodesWebhook