Search code examples
dokku

See git commit hash of running Dokku app?


I am running a Dokku app in production and need to know what version of the app is running on the server.

Is this possible with Dokku?


Solution

  • There's no need for a plugin.

    All apps in dokku are git bare repositories. Just connect to your server, switch to the app directory (mine are in /home/dokku/<app-name>) and run a git log. That should do the trick as well.