Skip to content
This repository has been archived by the owner on Feb 15, 2018. It is now read-only.

basgys/dokku-influxdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  • ...

About

an influxdb plugin for dokku

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages