https://github.com/byrnedo/dokku-gnatsd-plugin
Dokku plugin to link apps to a gnatsd queue
https://github.com/byrnedo/dokku-gnatsd-plugin
Last synced: about 2 months ago
JSON representation
Dokku plugin to link apps to a gnatsd queue
- Host: GitHub
- URL: https://github.com/byrnedo/dokku-gnatsd-plugin
- Owner: byrnedo
- Created: 2015-07-24T19:02:47.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-04T12:23:47.000Z (over 9 years ago)
- Last Synced: 2025-01-19T19:49:16.583Z (3 months ago)
- Language: Shell
- Size: 11.7 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dokku-gnatsd-plugin
## DEPRECATED
This project is now old and senile, please use [dokku-nats](http://github.com/byrnedo/dokku-nats) instead.Simple plugin to link a single instance [gnatsd](http://nats.io/) queue to an app
## Installation
git clone https://github.com/byrnedo/dokku-gnatsd-plugin.git /var/lib/dokku/plugins/gnatsd
dokku plugins-install## Commands
gnatsd:create Creates and runs the Gnatsd container
gnatsd:delete Delete Gnatsd container
gnatsd:info Display Gnatsd container informations
gnatsd:link Link an to the Gnatsd container
gnatsd:logs Display last logs from Gnatsd container
gnatsd:rebuild Rebuild Gnatsd container
gnatsd:unlink Unlink an from the Gnatsd container## Example Usage
Start the gnatsd container if you haven't already
$ dokku gnatsd:create #server side
$ ssh dokku@server gnatsd:create #client sideLink it to your app, say it's called `foo`:
$ dokku gnatsd:link foo
or$ ssh dokku@server gnatsd:link foo
this will expose the following environment variables to the app `foo`:
GNATSD_HOST
GNATSD_PORT
GNATSD_USERNAME
GNATSD_PASSWORD
GNATSD_URL