stuartpb / dokku-bind-port

Dokku plugin for binding app container ports to host interfaces
MIT License
16 stars 3 forks source link

Chaining Plugin #1

Closed dyson closed 10 years ago

dyson commented 10 years ago

You need to capture stdin and echo it back out in the plugin as plugin-hooks pipelines STDIN: https://github.com/progrium/pluginhook

They also receive STDIN in a pipelined fashion.

This is how I handle it: https://github.com/dyson/dokku-persistent-storage/blob/master/docker-args

stuartpb commented 10 years ago

Right - thanks for that. Forgot that each plugin concatenates STDIN (pluginhook has a parallel mode but I don't think dokku ever uses it).