Forked from: https://bitbucket.org/foldr/dokku-elasticsearch-plugin