Deprecated as of Dokku 0.7.1, which has overriding of the app user built in.
dokku-app-user is a plugin for dokku that sets the $USER user for use with herokuish
This plugin uses the docker-args-* hooks to inject the environment variable argument when dokku executes docker run and uses the app config value of $DOKKU_APP_USER. The current state of herokuish requires the user to already exist in your image. Thus this only works with custom herokuish docker images.
# Install the plugin:
# dokku 0.4+
dokku plugin:install https://github.com/michaelshobbs/dokku-app-user.git
dokku config:set <app> DOKKU_APP_USER=expauser
git push dokku@dokku.me:<app> masterThis plugin is released under the MIT license. See the file LICENSE.