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
Copy file name to clipboardExpand all lines: README.md
+13-48Lines changed: 13 additions & 48 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,66 +6,31 @@ Service that listens to docker events and runs dokku commands.
6
6
7
7
- golang 1.12+
8
8
9
-
## Usage
9
+
## Background
10
10
11
-
### Build the binary
11
+
This package tails the Docker event stream for container events and performs specific actions depending on those events.
12
12
13
-
> For a prebuilt binary, see the [github releases page](https://github.com/dokku/dokku-event-listener/releases).
13
+
- Container restarts that result in IP address changes will result in call to `dokku nginx:build-config` for the related app.
14
+
- Container restarts that exceed the maximum restart policy retry count for the given container will result in a call to `dokku ps:rebuild` for the related app.
14
15
15
-
A [Dockerfile](/Dockerfile.build)is provided for building the binary.
16
+
Note that this is only performed for Dokku app containers with the label `com.dokku.app-name`. If the container is missing that label, then no action will be performed when that container emits events on the Docker event stream.
0 commit comments