I use Dokku in a private environment with very long hostname.... 64 was always a lot to short.
set -e