Note to self: with dokku 0.3.1.7 special bash character in environment variable do not get parsed properly, and they break everything. Do not use them.
# this will fail BLAH=!qwekcxzmpeqd('} # this won't BLAH=ewq989u0caad909ad
The amount of randomness involved is smaller. Most likely upgrading to 0.3.18 could fix this.
It took me 2 hours to figure this out and my push to my dokku server where denied.