dokku-event-listener

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2020 License: BSD-3-Clause Imports: 13 Imported by: 0

README

dokku-event-listener CircleCI

Service that listens to docker events and runs dokku commands.

Requirements

  • golang 1.12+

Usage

Build the binary

For a prebuilt binary, see the github releases page.

A Dockerfile is provided for building the binary.

# build the binary
make build
Install binary
# copy binary to your server
scp build/linux/dokku-event-listener <user@your-server>:/tmp/
sudo chown root:root /tmp/dokku-event-listener
sudo mv /tmp/dokku-event-listener /usr/local/bin/dokku-event-listener
Install systemd service

If your system uses systemd, follow these steps:

Copy the dokku-event-listener.service to your system

scp init/systemd/dokku-event-listener.service <user@your-server>:/tmp/

On the system, change ownership to root and move to the systemd directory

sudo chown root:root /tmp/dokku-event-listener.service
sudo mv /tmp/dokku-event-listener.service /etc/systemd/system/dokku-event-listener.service
Install upstart conf

If your system uses upstart, follow these steps:

Copy the dokku-event-listener.conf to your system

scp init/upstart/dokku-event-listener.conf <user@your-server>:/tmp/

On the system, change ownership to root and move to the upstart directory

sudo chown root:root /tmp/dokku-event-listener.conf
sudo mv /tmp/dokku-event-listener.conf /etc/init/dokku-event-listener.conf
Configure service
# start the service and enable it at boot
sudo systemctl start dokku-event-listener.service
sudo systemctl enable dokku-event-listener.service

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL