Set custom buildpack.
Run db:migrate during deploys.
Do not try to db:migrate during deploys, DATABASE_URL is not set by Dokku.
set STACK env to something to make sure we cache what can be cached.