Only postgresql, but I removed it because it's not useful without postgis, and that's a whole separate install process. It also doesn't effect the functioning of the app in any way.

The others aren't optional.