Skip to content

beydogan/dokku-daemon-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dokku-daemon-go

Dokku Daemon written with Go to interact with Dokku

Requirements

A server running Ubuntu 14.04 or later with Dokku installed.

Installing

As a user with access to sudo

wget https://github.com/beydogan/dokku-daemon-go/releases/download/v0.1.1/dokku-daemon-go-linux64
chmod +x dokku-daemon-go-linux64
sudo ./dokku-daemon-go-linux64 install
sudo service dokku-daemon start

Usage

Daemon will create a UNIX socket at /var/run/dokku-daemon/dokku-daemon.sock owned by dokku user.

To test you can use;

sudo socat - UNIX-CONNECT:/var/run/dokku-daemon/dokku-daemon.sock

and type apps. It should return the output in JSON format.

{"status":"success","output":{"message":"=====\u003e My Apps\nhello\n"}}

About

Dokku Daemon written with Go to interact with Dokku

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages