It's probably just docker and lots of shell scripts to create/configure/delete containers automatically. Well, that's what I'd make if I were trying to recreate heroku. Their system may well be more complex.
Thanks! Do you think it's safe to run production databases on docker containers? I think I've read elsewhere that is not, but as I said I'm a total beginner on DevOps stuff.
I'm getting mixed results from a quick Google search, so either containers have improved for DB use, or there's some specific way you have to use them (maybe both!)