This repository has been archived by the owner. It is now read-only.
an influxdb plugin for dokku
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore 0.0.1 Feb 29, 2016
LICENSE Initial commit Feb 29, 2016
README.md Update README Mar 23, 2017
Vagrantfile 0.0.1 Feb 29, 2016
commands fix hang on help display May 7, 2016
config 0.0.1 Feb 29, 2016
functions 0.0.1 Feb 29, 2016
install 0.0.1 Feb 29, 2016
plugin.toml 0.0.1 Feb 29, 2016

README.md

This repository is no longer maintained.

dokku InfluxDB (beta)

InfluxDB plugin for dokku.

disclaimer

  • This plugin is not production ready yet.
  • The docker image is not from Influxdata (tutum/influxdb)

requirements

  • dokku 0.4.0+

installation

# on 0.4.x
dokku plugin:install https://github.com/basgys/dokku-influxdb.git influxdb

commands

influxdb:create <name>         Create new InfluxDB container
influxdb:destroy <name>        Destroy InfluxDB container
influxdb:expose <name> [port]  Expose on a custom port if provided (random port otherwise)
influxdb:link <name> <app>     Link InfluxDB service to the app
influxdb:logs <name> [-t]      Print the most recent log(s) for this service
influxdb:restart <name>        Graceful shutdown and restart of the InfluxDB service container
influxdb:start <name>          Start a previously stopped InfluxDB service
influxdb:stop <name>           Stop a running InfluxDB service
influxdb:unexpose <name>       Unexpose a previously exposed InfluxDB service
influxdb:unlink <name> <app>   Unlink InfluxDB service from the app

usage

# create an InfluxDB service named lolipop
dokku influxdb:create lolipop

# another service can be linked to your app
dokku influxdb:link lolipop playground

# you can tail logs for a particular service
dokku influxdb:logs lolipop
dokku influxdb:logs lolipop -t # to tail

# expose docker port to the host machine
dokku influxdb:expose lolipop 8086 8083

# finally, you can destroy the container
dokku influxdb:destroy lolipop

contributing

Feel free to contribute to this project if you want to fix/extend/improve it.

TODO

  • Implement/test InfluxDB cluster
  • ...