You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal of the *Docker Flow Swarm Listener* project is to listen to Docker Swarm events and send requests when a change occurs. At the moment, the only supported option is to send a notification when a new service is created, or an existing service was removed from the cluster. More extensive feature support is coming soon.
The goal of the *Docker Flow Swarm Listener* project is to listen to Docker Swarm events and send requests when a change occurs. At the moment, the only supported option is to send a notification when a new service is created, or an existing service was removed from the cluster. More extensive feature support is coming soon.
Copy file name to clipboardExpand all lines: docs/tutorial.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,9 @@ This tutorial will walk you through some of the most common use cases.
7
7
8
8
## Sending Notification Requests On Service Creation and Removal
9
9
10
-
The example that follows will use the *Swarm Listener* to reconfigure the [Docker Flow: Proxy](https://github.com/vfarcic/docker-flow-proxy) whenever a new service is created.
10
+
The example that follows will use the *Swarm Listener* to reconfigure the [Docker Flow: Proxy](https://github.com/docker-flow/docker-flow-proxy) whenever a new service is created.
11
11
12
-
I will assume that you already have a Swarm cluster set up with Docker Machines. If that's not the case, feel free to use the [scripts/dm-swarm.sh](https://github.com/vfarcic/docker-flow-swarm-listener/blob/master/scripts/dm-swarm.sh) script to create a three nodes cluster.
12
+
I will assume that you already have a Swarm cluster set up with Docker Machines. If that's not the case, feel free to use the [scripts/dm-swarm.sh](https://github.com/docker-flow/docker-flow-swarm-listener/blob/master/scripts/dm-swarm.sh) script to create a three nodes cluster.
13
13
14
14
Let's run the Proxy service. We'll use it as a way to demonstrate how *Swarm Listener* works.
15
15
@@ -22,7 +22,7 @@ docker service create --name proxy \
22
22
-p 8080:8080 \
23
23
--network proxy \
24
24
-e MODE=swarm \
25
-
vfarcic/docker-flow-proxy
25
+
dockerflow/docker-flow-proxy
26
26
```
27
27
28
28
Next, we'll create the `swarm-listener` service.
@@ -34,7 +34,7 @@ docker service create --name swarm-listener \
The service is attached to the proxy network (just as the `proxy` service), mounts the Docker socket, and declares the environment variables `DF_NOTIFY_CREATE_SERVICE_URL` and `DF_NOTIFY_REMOVE_SERVICE_URL`. We'll see the purpose of the variables soon.
0 commit comments