dokku does a lot of things that docker-compose does not. One of the bigger ones is zero downtime deploys:
https://dokku.com/docs/deployment/zero-downtime-deploys/
This has the added benefit of warming up the app before traffic ever hits it, something I was always surprised that even heroku didn't do (at least, the last time I used it ~6 years ago)