Project: https://github.com/progrium/dokku
Warning: This plugin is under development and still only tested with the below dependencies
Only tried with the following so far
- Docker version
1.5.0
or higher - Dokku version
0.3.15
or higher
cd /var/lib/dokku/plugins
git clone https://github.com/alfetopito/dokku-ethereum-plugin/ ethereum
dokku plugins-install
Sit tight, the installation usually takes awhile.
$ dokku help
eth:info Displays Ethereum port, ip and options
eth:logs Displays the last logs from Ethereum container
eth:start Creates a Ethereum container or starts it if any
eth:stop Stops and removes the Ethereum container if any
eth:version Displays Ethereum version
eth:link <app> Links <app> to Ethereum container
Start Ethereum cpp client with options -j -b
$ dokku eth:start # server side
$ ssh -t [email protected] eth:start # client side
Stop Ethereum cpp client
$ dokku eth:stop
See the logs
$ dokku eth:logs
Get the current ethereum version
$ dokku eth:version
Get info regarding ethereum host, json port and options used to invoke it
$ dokku eth:info
Link ethereum to an app
$ dokku eth:link <app>
When doing so, the environment variable ETHEREUM_HOST
will be set for given app.
- Allow other options to be set
- Start the container automatically
This plugin was heavily inspired by the dokku varnish plugin https://github.com/Zenedith/dokku-varnish-plugin