Peatio plugins v2 is updated peatio plugin system. We distribute plugins as peatio gems.
List your plugins in Gemfile.plugins.
Install plugins bundle install
.
Start your plugin development and integration.
Default Dockerfile has two stages. First stage is base image build and second is installation plugins into base image.
Note that building image from scratch takes much more time. If you didn't changes in Peatio code use Dockerfile.plugin.
To build base image run docker build --target base --tag peatio:base .
To build image with plugins from scratch run docker build --tag peatio:custom .
You can use built base image and extend it by adding plugins into Gemfile.plugin
.
Copy Dockerfile.plugin
and Gemfile.plugin
into empty directory.
List yor plugins in Gemfile.plugin
.
Change base image in Dockerfile.plugin
(default is rubykube/peatio:latest).
Build your custom image docker build --tag peatio:custom -f Dockerfile.plugin .